Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.1.4 #994

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.1.3",
"version": "5.1.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
6 changes: 3 additions & 3 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.1.3">
version="5.1.4">

<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.10" />
<framework src="com.onesignal:OneSignal:5.1.13" />
<framework src="build-extras-onesignal.gradle" custom="true" type="gradleReference" />
<framework src="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10" />

Expand Down Expand Up @@ -85,7 +85,7 @@
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="OneSignalXCFramework" spec="5.1.6" />
<pod name="OneSignalXCFramework" spec="5.2.0" />
</pods>
</podspec>

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 @@ -348,7 +348,7 @@ public boolean setOnDidDismissInAppMessageHandler(CallbackContext callbackContex

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

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