From 24bea92d26174a00c178edd75add2842c8eb672d Mon Sep 17 00:00:00 2001 From: Nan Date: Fri, 6 Oct 2023 12:55:01 -0700 Subject: [PATCH] release commit --- android/build.gradle | 2 +- .../main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java | 2 +- ios/RCTOneSignal/RCTOneSignal.m | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 3c2ce61e..3b0ae63c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -31,7 +31,7 @@ dependencies { // api is used instead of implementation so the parent :app project can access any of the OneSignal Java // classes if needed. Such as com.onesignal.NotificationExtenderService - api 'com.onesignal:OneSignal:5.0.2' + api 'com.onesignal:OneSignal:5.0.3' testImplementation 'junit:junit:4.12' } \ No newline at end of file diff --git a/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java b/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java index f6c6ec37..ff8885c3 100644 --- a/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java +++ b/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java @@ -216,7 +216,7 @@ public void onCatalystInstanceDestroy() { public void initialize(String appId) { Context context = mReactApplicationContext.getCurrentActivity(); OneSignalWrapper.setSdkType("reactnative"); - OneSignalWrapper.setSdkVersion("050001"); + OneSignalWrapper.setSdkVersion("050002"); if (oneSignalInitDone) { Log.e("OneSignal", "Already initialized the OneSignal React-Native SDK"); diff --git a/ios/RCTOneSignal/RCTOneSignal.m b/ios/RCTOneSignal/RCTOneSignal.m index fe6e9554..dfa6ee4e 100644 --- a/ios/RCTOneSignal/RCTOneSignal.m +++ b/ios/RCTOneSignal/RCTOneSignal.m @@ -47,7 +47,7 @@ - (void)initOneSignal:(NSDictionary *)launchOptions { return; OneSignalWrapper.sdkType = @"reactnative"; - OneSignalWrapper.sdkVersion = @"050001"; + OneSignalWrapper.sdkVersion = @"050002"; // initialize the SDK with a nil app ID so cold start click listeners can be triggered [OneSignal initialize:nil withLaunchOptions:launchOptions]; didInitialize = true; diff --git a/package.json b/package.json index 75943ed7..9d85c192 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-onesignal", - "version": "5.0.1", + "version": "5.0.2", "description": "React Native OneSignal SDK", "main": "dist/index.js", "types": "dist/index.d.ts",