From bac5607f3bc92f7f781f363cb5cecbd9fa5a9ca6 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Thu, 1 Oct 2026 12:09:04 -0700 Subject: [PATCH] chore: report agent version 6.0.5 The native agent strings sent to Courier were left at 6.0.3, so 6.0.4 and the upcoming 6.0.5 identify themselves as 6.0.3. Match package.json. Co-Authored-By: Claude Opus 5.5 --- android/src/main/java/com/courierreactnative/Utils.kt | 2 +- ios/CourierReactNativeDelegate.m | 2 +- ios/CourierReactNativeEventEmitter.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/com/courierreactnative/Utils.kt b/android/src/main/java/com/courierreactnative/Utils.kt index e7a3b49..1d20ffb 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 = "6.0.3") + val COURIER_AGENT = CourierAgent.ReactNativeAndroid(version = "6.0.5") } internal fun ReactContext.sendEvent(eventName: String, value: Any?) { diff --git a/ios/CourierReactNativeDelegate.m b/ios/CourierReactNativeDelegate.m index e84496d..e137f55 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:@"6.0.3"]; + Courier.agent = [CourierAgent reactNativeIOS:@"6.0.5"]; // Register for remote notifications UIApplication *app = [UIApplication sharedApplication]; diff --git a/ios/CourierReactNativeEventEmitter.swift b/ios/CourierReactNativeEventEmitter.swift index 3259115..e0066c9 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("6.0.3") + Courier.agent = CourierAgent.reactNativeIOS("6.0.5") }