diff --git a/example/IonicCapOneSignal/android/app/capacitor.build.gradle b/example/IonicCapOneSignal/android/app/capacitor.build.gradle index ffc8054c..86996ae3 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.16" + implementation "com.onesignal:OneSignal:5.1.17" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10" } apply from: "../../../../build-extras-onesignal.gradle" diff --git a/example/IonicCapOneSignal/package-lock.json b/example/IonicCapOneSignal/package-lock.json index 5594a629..a289fa82 100644 --- a/example/IonicCapOneSignal/package-lock.json +++ b/example/IonicCapOneSignal/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "IonicCapOneSignal", "version": "0.0.1", "dependencies": { "@capacitor/android": "6.0.0", @@ -47,7 +48,7 @@ }, "../..": { "name": "onesignal-cordova-plugin", - "version": "5.2.2", + "version": "5.2.3", "engines": [ { "name": "cordova-android", diff --git a/package.json b/package.json index c6fbe4d9..70bdac16 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.2.2", + "version": "5.2.3", "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 d0275d89..dbd97102 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="5.2.3"> OneSignal Push Notifications Josh Kasten, Bradley Hesse, Rodrigo Gomez-Palacio @@ -37,7 +37,7 @@ - + diff --git a/src/android/com/onesignal/cordova/OneSignalPush.java b/src/android/com/onesignal/cordova/OneSignalPush.java index 041eb0b7..0e27e67e 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("050202"); + OneSignalWrapper.setSdkVersion("050203"); 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 9003d55a..508998c7 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 = @"050202"; + OneSignalWrapper.sdkVersion = @"050203"; [OneSignal initialize:nil withLaunchOptions:launchOptions]; initialLaunchFired = true; }