Skip to content

Commit

Permalink
Merge pull request #1008 from OneSignal/rel/5.2.3
Browse files Browse the repository at this point in the history
Release 5.2.3
  • Loading branch information
nan-li authored Jul 3, 2024
2 parents b98f918 + be6a73b commit a9bdc2a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion example/IonicCapOneSignal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="onesignal-cordova-plugin"
version="5.2.2">
version="5.2.3">

<name>OneSignal Push Notifications</name>
<author>Josh Kasten, Bradley Hesse, Rodrigo Gomez-Palacio</author>
Expand Down Expand Up @@ -37,7 +37,7 @@
<js-module src="dist/LiveActivitiesNamespace.js" name="LiveActivitiesNamespace" />

<platform name="android">
<framework src="com.onesignal:OneSignal:5.1.16" />
<framework src="com.onesignal:OneSignal:5.1.17" />
<framework src="build-extras-onesignal.gradle" custom="true" type="gradleReference" />
<framework src="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10" />

Expand Down
2 changes: 1 addition & 1 deletion src/android/com/onesignal/cordova/OneSignalPush.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/ios/OneSignalPush.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a9bdc2a

Please sign in to comment.