From 6f991183dfc86cbfe2491262815a60e51b01473b Mon Sep 17 00:00:00 2001 From: Jenna Antilla <46546946+jennantilla@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:20:06 -0700 Subject: [PATCH] release commit 5.2.1 --- .../android/app/capacitor.build.gradle | 2 +- .../IonicCapOneSignal/ios/App/Podfile.lock | 32 +++++++++---------- example/IonicCapOneSignal/package-lock.json | 2 +- package.json | 2 +- plugin.xml | 6 ++-- .../com/onesignal/cordova/OneSignalPush.java | 2 +- src/ios/OneSignalPush.m | 2 +- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/example/IonicCapOneSignal/android/app/capacitor.build.gradle b/example/IonicCapOneSignal/android/app/capacitor.build.gradle index 32b70267..ceada395 100644 --- a/example/IonicCapOneSignal/android/app/capacitor.build.gradle +++ b/example/IonicCapOneSignal/android/app/capacitor.build.gradle @@ -13,7 +13,7 @@ dependencies { implementation project(':capacitor-haptics') implementation project(':capacitor-keyboard') implementation project(':capacitor-status-bar') - implementation "com.onesignal:OneSignal:5.1.13" + implementation "com.onesignal:OneSignal:5.1.15" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10" } apply from: "../../../../build-extras-onesignal.gradle" diff --git a/example/IonicCapOneSignal/ios/App/Podfile.lock b/example/IonicCapOneSignal/ios/App/Podfile.lock index 86a8679a..31db6e28 100644 --- a/example/IonicCapOneSignal/ios/App/Podfile.lock +++ b/example/IonicCapOneSignal/ios/App/Podfile.lock @@ -12,10 +12,10 @@ PODS: - Capacitor - CordovaPluginsStatic (6.0.0): - CapacitorCordova - - OneSignalXCFramework (= 5.2.0) - - OneSignalXCFramework (5.2.0): - - OneSignalXCFramework/OneSignalComplete (= 5.2.0) - - OneSignalXCFramework/OneSignal (5.2.0): + - OneSignalXCFramework (= 5.2.1) + - OneSignalXCFramework (5.2.1): + - OneSignalXCFramework/OneSignalComplete (= 5.2.1) + - OneSignalXCFramework/OneSignal (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalExtension - OneSignalXCFramework/OneSignalLiveActivities @@ -23,38 +23,38 @@ PODS: - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalOutcomes - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalComplete (5.2.0): + - OneSignalXCFramework/OneSignalComplete (5.2.1): - OneSignalXCFramework/OneSignal - OneSignalXCFramework/OneSignalInAppMessages - OneSignalXCFramework/OneSignalLocation - - OneSignalXCFramework/OneSignalCore (5.2.0) - - OneSignalXCFramework/OneSignalExtension (5.2.0): + - OneSignalXCFramework/OneSignalCore (5.2.1) + - OneSignalXCFramework/OneSignalExtension (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalInAppMessages (5.2.0): + - OneSignalXCFramework/OneSignalInAppMessages (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalOutcomes - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLiveActivities (5.2.0): + - OneSignalXCFramework/OneSignalLiveActivities (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLocation (5.2.0): + - OneSignalXCFramework/OneSignalLocation (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalNotifications (5.2.0): + - OneSignalXCFramework/OneSignalNotifications (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalExtension - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalOSCore (5.2.0): + - OneSignalXCFramework/OneSignalOSCore (5.2.1): - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOutcomes (5.2.0): + - OneSignalXCFramework/OneSignalOutcomes (5.2.1): - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalUser (5.2.0): + - OneSignalXCFramework/OneSignalUser (5.2.1): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore @@ -97,8 +97,8 @@ SPEC CHECKSUMS: CapacitorHaptics: 9ebc9363f0e9b8eb4295088a0b474530acf1859b CapacitorKeyboard: deacbd09d8d1029c3681197fb05d206b721d5f73 CapacitorStatusBar: 2e4369f99166125435641b1908d05f561eaba6f6 - CordovaPluginsStatic: 3355cb91038bf10f85a071f96c435dcabc8cc8ae - OneSignalXCFramework: bdf74fdc06888f9466dc21e826fe1549ed143095 + CordovaPluginsStatic: c1dda96f1a059192d079f0160a5b2e27ed7a537f + OneSignalXCFramework: fbafb3b4964a37f8b0ff273419d1c0e5ac0e07d6 PODFILE CHECKSUM: 178e2a2e451311a871c2b4db713ac4b63d0ebeeb diff --git a/example/IonicCapOneSignal/package-lock.json b/example/IonicCapOneSignal/package-lock.json index c305c73a..ed18d0c7 100644 --- a/example/IonicCapOneSignal/package-lock.json +++ b/example/IonicCapOneSignal/package-lock.json @@ -48,7 +48,7 @@ }, "../..": { "name": "onesignal-cordova-plugin", - "version": "5.2.0", + "version": "5.2.1", "engines": [ { "name": "cordova-android", diff --git a/package.json b/package.json index 7bdb9c33..82ebb76f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.2.0", + "version": "5.2.1", "name": "onesignal-cordova-plugin", "cordova_name": "OneSignal Push Notifications", "description": "OneSignal is a high volume Push Notification service for mobile apps. In addition to basic notification delivery, OneSignal also provides tools to localize, target, schedule, and automate notifications that you send.", diff --git a/plugin.xml b/plugin.xml index 27c29cc0..da0b46e7 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="5.2.1"> OneSignal Push Notifications Josh Kasten, Bradley Hesse, Rodrigo Gomez-Palacio @@ -37,7 +37,7 @@ - + @@ -85,7 +85,7 @@ - + diff --git a/src/android/com/onesignal/cordova/OneSignalPush.java b/src/android/com/onesignal/cordova/OneSignalPush.java index ad8ef648..f14c6ab3 100644 --- a/src/android/com/onesignal/cordova/OneSignalPush.java +++ b/src/android/com/onesignal/cordova/OneSignalPush.java @@ -352,7 +352,7 @@ public boolean setOnDidDismissInAppMessageHandler(CallbackContext callbackContex public boolean init(CallbackContext callbackContext, JSONArray data) { OneSignalWrapper.setSdkType("cordova"); - OneSignalWrapper.setSdkVersion("050200"); + OneSignalWrapper.setSdkVersion("050201"); try { String appId = data.getString(0); OneSignal.initWithContext(this.cordova.getActivity(), appId); diff --git a/src/ios/OneSignalPush.m b/src/ios/OneSignalPush.m index 06a65099..681b0eda 100644 --- a/src/ios/OneSignalPush.m +++ b/src/ios/OneSignalPush.m @@ -107,7 +107,7 @@ void processNotificationClicked(OSNotificationClickEvent* event) { void initOneSignalObject(NSDictionary* launchOptions) { OneSignalWrapper.sdkType = @"cordova"; - OneSignalWrapper.sdkVersion = @"050200"; + OneSignalWrapper.sdkVersion = @"050201"; [OneSignal initialize:nil withLaunchOptions:launchOptions]; initialLaunchFired = true; }