Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/src/main/java/com/courierreactnative/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import com.facebook.react.modules.core.DeviceEventManagerModule
import com.google.gson.GsonBuilder

internal object Utils {
val COURIER_AGENT = CourierAgent.ReactNativeAndroid(version = "5.6.17")
val COURIER_AGENT = CourierAgent.ReactNativeAndroid(version = "6.0.3")
}

internal fun ReactContext.sendEvent(eventName: String, value: Any?) {
Expand Down
2 changes: 1 addition & 1 deletion ios/CourierReactNativeDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ - (id)init {
if (self) {

// Set the user agent
Courier.agent = [CourierAgent reactNativeIOS:@"5.6.17"];
Courier.agent = [CourierAgent reactNativeIOS:@"6.0.3"];

// Register for remote notifications
UIApplication *app = [UIApplication sharedApplication];
Expand Down
2 changes: 1 addition & 1 deletion ios/CourierReactNativeEventEmitter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class CourierReactNativeEventEmitter: RCTEventEmitter {

// Set the user agent
// Used to know the platform performing requests
Courier.agent = CourierAgent.reactNativeIOS("5.6.17")
Courier.agent = CourierAgent.reactNativeIOS("6.0.3")

}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trycourier/courier-react-native",
"version": "5.6.17",
"version": "6.0.3",
"description": "Inbox, Push Notifications, and Preferences for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Loading