From c8c629864fe0226c79d3eb0fdeaf50ce33810a60 Mon Sep 17 00:00:00 2001 From: Jenna Antilla <46546946+jennantilla@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:11:40 -0800 Subject: [PATCH 1/2] release commit --- android/build.gradle | 2 +- .../main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java | 2 +- ios/RCTOneSignal/RCTOneSignal.m | 2 +- package.json | 2 +- react-native-onesignal.podspec | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 5230495e..ba5c5ed2 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.1.24' + api 'com.onesignal:OneSignal:5.1.25' 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 6408df7d..62fa3e8e 100644 --- a/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java +++ b/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java @@ -229,7 +229,7 @@ public void onCatalystInstanceDestroy() { public void initialize(String appId) { Context context = mReactApplicationContext.getCurrentActivity(); OneSignalWrapper.setSdkType("reactnative"); - OneSignalWrapper.setSdkVersion("050206"); + OneSignalWrapper.setSdkVersion("050207"); 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 0415738b..911aace3 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 = @"050206"; + OneSignalWrapper.sdkVersion = @"050207"; // 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 2b5b3287..c8d0f268 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-onesignal", - "version": "5.2.6", + "version": "5.2.7", "description": "React Native OneSignal SDK", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/react-native-onesignal.podspec b/react-native-onesignal.podspec index a0885162..16ad0632 100644 --- a/react-native-onesignal.podspec +++ b/react-native-onesignal.podspec @@ -22,5 +22,5 @@ Pod::Spec.new do |s| # pod 'React', :path => '../node_modules/react-native/' # The Native OneSignal-iOS-SDK XCFramework from cocoapods. - s.dependency 'OneSignalXCFramework', '5.2.7' + s.dependency 'OneSignalXCFramework', '5.2.8' end From 968577b2c3b29a109cd0f75b26ecee4549010477 Mon Sep 17 00:00:00 2001 From: Jenna Antilla <46546946+jennantilla@users.noreply.github.com> Date: Wed, 18 Dec 2024 08:57:27 -0800 Subject: [PATCH 2/2] release commit --- android/build.gradle | 2 +- .../main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java | 2 +- ios/RCTOneSignal/RCTOneSignal.m | 2 +- package.json | 2 +- react-native-onesignal.podspec | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index ba5c5ed2..0ce9fbc3 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.1.25' + api 'com.onesignal:OneSignal:5.1.26' 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 62fa3e8e..5d8f85e2 100644 --- a/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java +++ b/android/src/main/java/com/onesignal/rnonesignalandroid/RNOneSignal.java @@ -229,7 +229,7 @@ public void onCatalystInstanceDestroy() { public void initialize(String appId) { Context context = mReactApplicationContext.getCurrentActivity(); OneSignalWrapper.setSdkType("reactnative"); - OneSignalWrapper.setSdkVersion("050207"); + OneSignalWrapper.setSdkVersion("050208"); 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 911aace3..bdaf8f88 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 = @"050207"; + OneSignalWrapper.sdkVersion = @"050208"; // 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 c8d0f268..31bcba1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-onesignal", - "version": "5.2.7", + "version": "5.2.8", "description": "React Native OneSignal SDK", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/react-native-onesignal.podspec b/react-native-onesignal.podspec index 16ad0632..4c1b7232 100644 --- a/react-native-onesignal.podspec +++ b/react-native-onesignal.podspec @@ -22,5 +22,5 @@ Pod::Spec.new do |s| # pod 'React', :path => '../node_modules/react-native/' # The Native OneSignal-iOS-SDK XCFramework from cocoapods. - s.dependency 'OneSignalXCFramework', '5.2.8' + s.dependency 'OneSignalXCFramework', '5.2.9' end