diff --git a/android/src/main/java/com/courierreactnative/Utils.kt b/android/src/main/java/com/courierreactnative/Utils.kt index 39fbcbf..7fc0120 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.0.4") + val COURIER_AGENT = CourierAgent.ReactNativeAndroid(version = "5.1.0") } internal fun ReactContext.sendEvent(eventName: String, value: Any?) { diff --git a/courier-react-native.podspec b/courier-react-native.podspec index d181531..f0df623 100644 --- a/courier-react-native.podspec +++ b/courier-react-native.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,mm,swift}" # Courier Core Dependency - s.dependency "Courier_iOS", "5.2.7" + s.dependency "Courier_iOS", "5.3.0" # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79. diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 90c55f4..501e674 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -81,7 +81,7 @@ android { applicationId "com.courierreactnativeexample" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 29 + versionCode 30 versionName "1.0" } signingConfigs { diff --git a/example/ios/CourierReactNativeExample.xcodeproj/project.pbxproj b/example/ios/CourierReactNativeExample.xcodeproj/project.pbxproj index db84150..4de877e 100644 --- a/example/ios/CourierReactNativeExample.xcodeproj/project.pbxproj +++ b/example/ios/CourierReactNativeExample.xcodeproj/project.pbxproj @@ -632,7 +632,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = CourierReactNativeExample/CourierReactNativeExample.entitlements; - CURRENT_PROJECT_VERSION = 33; + CURRENT_PROJECT_VERSION = 34; DEVELOPMENT_TEAM = 83BJVWGX4Q; ENABLE_BITCODE = NO; INFOPLIST_FILE = CourierReactNativeExample/Info.plist; @@ -663,7 +663,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = CourierReactNativeExample/CourierReactNativeExample.entitlements; - CURRENT_PROJECT_VERSION = 33; + CURRENT_PROJECT_VERSION = 34; DEVELOPMENT_TEAM = 83BJVWGX4Q; INFOPLIST_FILE = CourierReactNativeExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; diff --git a/example/ios/CourierReactNativeExample/Info.plist b/example/ios/CourierReactNativeExample/Info.plist index 60781ad..eb5ca70 100644 --- a/example/ios/CourierReactNativeExample/Info.plist +++ b/example/ios/CourierReactNativeExample/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 33 + 34 LSRequiresIPhoneOS NSAppTransportSecurity diff --git a/example/ios/CourierReactNativeExampleTests/Info.plist b/example/ios/CourierReactNativeExampleTests/Info.plist index 3b32a0e..6491617 100644 --- a/example/ios/CourierReactNativeExampleTests/Info.plist +++ b/example/ios/CourierReactNativeExampleTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 19 + 20 diff --git a/example/ios/CourierService/Info.plist b/example/ios/CourierService/Info.plist index 9bb55e0..db65f79 100644 --- a/example/ios/CourierService/Info.plist +++ b/example/ios/CourierService/Info.plist @@ -10,6 +10,6 @@ $(PRODUCT_MODULE_NAME).NotificationService CFBundleVersion - 18 + 19 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 8ef9a06..5133efc 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,10 +1,10 @@ PODS: - boost (1.76.0) - - courier-react-native (5.0.2): - - Courier_iOS (= 5.2.7) + - courier-react-native (5.0.4): + - Courier_iOS (= 5.3.0) - RCT-Folly (= 2021.07.22.00) - React-Core - - Courier_iOS (5.2.7) + - Courier_iOS (5.3.0) - DoubleConversion (1.1.6) - FBLazyVector (0.72.4) - FBReactNativeSpec (0.72.4): @@ -604,8 +604,8 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 - courier-react-native: d31c0a8ff328026912a2ec3fa71bfc0ccb8f8433 - Courier_iOS: 6613c3d21e8167f1dd20e0364f2812a506c51d77 + courier-react-native: 6562c6b13655c7c9535d6549fbda6f8cbf32afbf + Courier_iOS: abc5e2f2348486a5a5694198ef16c146918dc16e DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5 FBReactNativeSpec: 3fc2d478e1c4b08276f9dd9128f80ec6d5d85c1f diff --git a/ios/CourierReactNativeDelegate.m b/ios/CourierReactNativeDelegate.m index 3a8051d..847506d 100644 --- a/ios/CourierReactNativeDelegate.m +++ b/ios/CourierReactNativeDelegate.m @@ -22,7 +22,7 @@ - (id) init { if (self) { // Set the user agent - Courier.agent = [CourierAgent reactNativeIOS:@"5.0.4"]; + Courier.agent = [CourierAgent reactNativeIOS:@"5.1.0"]; // Register for remote notifications UIApplication *app = [UIApplication sharedApplication]; diff --git a/ios/CourierReactNativeEventEmitter.swift b/ios/CourierReactNativeEventEmitter.swift index cc38113..c3bd77c 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.0.4") + Courier.agent = CourierAgent.reactNativeIOS("5.1.0") } diff --git a/package-lock.json b/package-lock.json index 03ec293..e1cdaff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@trycourier/courier-react-native", - "version": "5.0.4", + "version": "5.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@trycourier/courier-react-native", - "version": "5.0.4", + "version": "5.1.0", "license": "MIT", "dependencies": { "react-native-toast-message": "^2.2.0" diff --git a/package.json b/package.json index 8132f0f..d3c780a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/courier-react-native", - "version": "5.0.4", + "version": "5.1.0", "description": "Inbox, Push Notifications, and Preferences for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",