diff --git a/example/IonicCapOneSignal/android/app/capacitor.build.gradle b/example/IonicCapOneSignal/android/app/capacitor.build.gradle index c4a09ad4..099c93c7 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.23" + implementation "com.onesignal:OneSignal:5.1.24" 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 ff9842ad..f88ad3ac 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.5) - - OneSignalXCFramework (5.2.5): - - OneSignalXCFramework/OneSignalComplete (= 5.2.5) - - OneSignalXCFramework/OneSignal (5.2.5): + - OneSignalXCFramework (= 5.2.7) + - OneSignalXCFramework (5.2.7): + - OneSignalXCFramework/OneSignalComplete (= 5.2.7) + - OneSignalXCFramework/OneSignal (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalExtension - OneSignalXCFramework/OneSignalLiveActivities @@ -23,38 +23,38 @@ PODS: - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalOutcomes - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalComplete (5.2.5): + - OneSignalXCFramework/OneSignalComplete (5.2.7): - OneSignalXCFramework/OneSignal - OneSignalXCFramework/OneSignalInAppMessages - OneSignalXCFramework/OneSignalLocation - - OneSignalXCFramework/OneSignalCore (5.2.5) - - OneSignalXCFramework/OneSignalExtension (5.2.5): + - OneSignalXCFramework/OneSignalCore (5.2.7) + - OneSignalXCFramework/OneSignalExtension (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalInAppMessages (5.2.5): + - OneSignalXCFramework/OneSignalInAppMessages (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalOutcomes - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLiveActivities (5.2.5): + - OneSignalXCFramework/OneSignalLiveActivities (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLocation (5.2.5): + - OneSignalXCFramework/OneSignalLocation (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalNotifications (5.2.5): + - OneSignalXCFramework/OneSignalNotifications (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalExtension - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalOSCore (5.2.5): + - OneSignalXCFramework/OneSignalOSCore (5.2.7): - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOutcomes (5.2.5): + - OneSignalXCFramework/OneSignalOutcomes (5.2.7): - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalUser (5.2.5): + - OneSignalXCFramework/OneSignalUser (5.2.7): - OneSignalXCFramework/OneSignalCore - OneSignalXCFramework/OneSignalNotifications - OneSignalXCFramework/OneSignalOSCore @@ -97,8 +97,8 @@ SPEC CHECKSUMS: CapacitorHaptics: 9ebc9363f0e9b8eb4295088a0b474530acf1859b CapacitorKeyboard: deacbd09d8d1029c3681197fb05d206b721d5f73 CapacitorStatusBar: 2e4369f99166125435641b1908d05f561eaba6f6 - CordovaPluginsStatic: 06b19b550e113a13c47edfc409bfa64840975588 - OneSignalXCFramework: 76ca508fc2b941317729d13fdec96817f8ef5b3b + CordovaPluginsStatic: 44e859961f0bc894ddef3e9ae371a041443e11ec + OneSignalXCFramework: c56f9470a6fb23048baf55e02740a09cfd32863c PODFILE CHECKSUM: 178e2a2e451311a871c2b4db713ac4b63d0ebeeb diff --git a/example/IonicCapOneSignal/package-lock.json b/example/IonicCapOneSignal/package-lock.json index 9f18ba33..16f4fb23 100644 --- a/example/IonicCapOneSignal/package-lock.json +++ b/example/IonicCapOneSignal/package-lock.json @@ -48,7 +48,7 @@ }, "../..": { "name": "onesignal-cordova-plugin", - "version": "5.2.5", + "version": "5.2.7", "engines": [ { "name": "cordova-android", diff --git a/package.json b/package.json index 220c5b1f..9d574e82 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.2.6", + "version": "5.2.7", "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 725b656a..7b507084 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="5.2.7"> 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 64ae20db..500a8c39 100644 --- a/src/android/com/onesignal/cordova/OneSignalPush.java +++ b/src/android/com/onesignal/cordova/OneSignalPush.java @@ -360,7 +360,7 @@ public boolean setOnDidDismissInAppMessageHandler(CallbackContext callbackContex public boolean init(CallbackContext callbackContext, JSONArray data) { OneSignalWrapper.setSdkType("cordova"); - OneSignalWrapper.setSdkVersion("050206"); + OneSignalWrapper.setSdkVersion("050207"); 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 68176a7c..6476d48f 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 = @"050206"; + OneSignalWrapper.sdkVersion = @"050207"; [OneSignal initialize:nil withLaunchOptions:launchOptions]; initialLaunchFired = true; }