Skip to content

Commit

Permalink
Merge pull request #947 from OneSignal/rel/5.0.4
Browse files Browse the repository at this point in the history
Release 5.0.4
  • Loading branch information
jennantilla authored Dec 6, 2023
2 parents c0620b2 + d9ae7e8 commit d09da15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.3",
"version": "5.0.4",
"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
2 changes: 1 addition & 1 deletion 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.0.3">
version="5.0.4">

<name>OneSignal Push Notifications</name>
<author>Josh Kasten, Bradley Hesse, Rodrigo Gomez-Palacio</author>
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 @@ -344,7 +344,7 @@ public boolean setOnDidDismissInAppMessageHandler(CallbackContext callbackContex

public boolean init(CallbackContext callbackContext, JSONArray data) {
OneSignalWrapper.setSdkType("cordova");
OneSignalWrapper.setSdkVersion("050003");
OneSignalWrapper.setSdkVersion("050004");
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 @@ -99,7 +99,7 @@ void processNotificationClicked(OSNotificationClickEvent* event) {

void initOneSignalObject(NSDictionary* launchOptions) {
OneSignalWrapper.sdkType = @"cordova";
OneSignalWrapper.sdkVersion = @"050003";
OneSignalWrapper.sdkVersion = @"050004";
[OneSignal initialize:nil withLaunchOptions:launchOptions];
initialLaunchFired = true;
}
Expand Down

0 comments on commit d09da15

Please sign in to comment.