From f5c95709fb8d8d4ea861910a5ceb967a89576789 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Mon, 1 Jun 2026 15:42:10 -0700 Subject: [PATCH] chore: bump SDK version to 6.0.3 Patch release to align package.json and native agent version strings. Co-authored-by: Cursor --- android/src/main/java/com/courierreactnative/Utils.kt | 2 +- ios/CourierReactNativeDelegate.m | 2 +- ios/CourierReactNativeEventEmitter.swift | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/src/main/java/com/courierreactnative/Utils.kt b/android/src/main/java/com/courierreactnative/Utils.kt index e26ca08..e7a3b49 100644 --- a/android/src/main/java/com/courierreactnative/Utils.kt +++ b/android/src/main/java/com/courierreactnative/Utils.kt @@ -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?) { diff --git a/ios/CourierReactNativeDelegate.m b/ios/CourierReactNativeDelegate.m index 3f37d79..e84496d 100644 --- a/ios/CourierReactNativeDelegate.m +++ b/ios/CourierReactNativeDelegate.m @@ -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]; diff --git a/ios/CourierReactNativeEventEmitter.swift b/ios/CourierReactNativeEventEmitter.swift index 3237caf..3259115 100644 --- a/ios/CourierReactNativeEventEmitter.swift +++ b/ios/CourierReactNativeEventEmitter.swift @@ -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") } diff --git a/package.json b/package.json index 298bfe5..8cfab53 100644 --- a/package.json +++ b/package.json @@ -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",