pushwoosh-cordova-plugin 8.3.57 → 8.3.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -14,13 +14,13 @@ Cross-Platform push notifications by Pushwoosh for Cordova / PhoneGap
|
|
|
14
14
|
Using npm:
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
cordova plugin add pushwoosh-cordova-plugin@8.3.
|
|
17
|
+
cordova plugin add pushwoosh-cordova-plugin@8.3.58
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Using git:
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.
|
|
23
|
+
cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.58
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
### Guide
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushwoosh-cordova-plugin",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.58",
|
|
4
4
|
"description": "\n This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).\n ",
|
|
5
5
|
"main":"www/PushNotification.js",
|
|
6
6
|
"typings":"types/index.d.ts",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pushwoosh-cordova-plugin" version="8.3.
|
|
2
|
+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pushwoosh-cordova-plugin" version="8.3.58">
|
|
3
3
|
|
|
4
4
|
<name>Pushwoosh</name>
|
|
5
5
|
|
|
@@ -98,13 +98,13 @@
|
|
|
98
98
|
<framework src="org.jetbrains.kotlin:kotlin-stdlib:1.1.60" />
|
|
99
99
|
<framework src="com.google.android.material:material:1.12.0"/>
|
|
100
100
|
|
|
101
|
-
<framework src="com.pushwoosh:pushwoosh:6.7.
|
|
102
|
-
<framework src="com.pushwoosh:pushwoosh-amazon:6.7.
|
|
103
|
-
<framework src="com.pushwoosh:pushwoosh-firebase:6.7.
|
|
104
|
-
<framework src="com.pushwoosh:pushwoosh-badge:6.7.
|
|
105
|
-
<framework src="com.pushwoosh:pushwoosh-inbox:6.7.
|
|
106
|
-
<framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.
|
|
107
|
-
<framework src="com.pushwoosh:pushwoosh-huawei:6.7.
|
|
101
|
+
<framework src="com.pushwoosh:pushwoosh:6.7.50"/>
|
|
102
|
+
<framework src="com.pushwoosh:pushwoosh-amazon:6.7.50"/>
|
|
103
|
+
<framework src="com.pushwoosh:pushwoosh-firebase:6.7.50"/>
|
|
104
|
+
<framework src="com.pushwoosh:pushwoosh-badge:6.7.50"/>
|
|
105
|
+
<framework src="com.pushwoosh:pushwoosh-inbox:6.7.50"/>
|
|
106
|
+
<framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.50"/>
|
|
107
|
+
<framework src="com.pushwoosh:pushwoosh-huawei:6.7.50"/>
|
|
108
108
|
</platform>
|
|
109
109
|
|
|
110
110
|
<!-- ios -->
|
|
@@ -143,10 +143,10 @@
|
|
|
143
143
|
|
|
144
144
|
<podspec>
|
|
145
145
|
<config>
|
|
146
|
-
<source url="https://
|
|
146
|
+
<source url="https://cdn.cocoapods.org/"/>
|
|
147
147
|
</config>
|
|
148
148
|
<pods use-frameworks="true">
|
|
149
|
-
<pod name="PushwooshXCFramework" spec="7.0.
|
|
149
|
+
<pod name="PushwooshXCFramework" spec="7.0.12" />
|
|
150
150
|
<pod name="PushwooshInboxUIXCFramework" spec="7.0.3" />
|
|
151
151
|
</pods>
|
|
152
152
|
</podspec>
|
|
@@ -16,7 +16,7 @@ def callsSrc = pluginDir ? new File(pluginDir, 'src/android/src/com/pushwoosh/pl
|
|
|
16
16
|
def applyVoip = {
|
|
17
17
|
if (voipEnabled) {
|
|
18
18
|
println "[${pluginId}] PW_VOIP_ANDROID_ENABLED=true — enabling VoIP (dependency + sources)"
|
|
19
|
-
dependencies { implementation "com.pushwoosh:pushwoosh-calls:6.7.
|
|
19
|
+
dependencies { implementation "com.pushwoosh:pushwoosh-calls:6.7.50" }
|
|
20
20
|
if (callsSrc?.exists()) {
|
|
21
21
|
android.sourceSets.main.java.srcDirs += callsSrc
|
|
22
22
|
println "[${pluginId}] Added optional sources: ${callsSrc}"
|
|
@@ -1088,8 +1088,8 @@ public class PushNotifications extends CordovaPlugin {
|
|
|
1088
1088
|
@CordovaMethod
|
|
1089
1089
|
private boolean setApiToken(JSONArray data, final CallbackContext callbackContext) {
|
|
1090
1090
|
try {
|
|
1091
|
-
String
|
|
1092
|
-
Pushwoosh.getInstance().
|
|
1091
|
+
String apiToken = data.getString(0);
|
|
1092
|
+
Pushwoosh.getInstance().setApiToken(apiToken);
|
|
1093
1093
|
} catch (JSONException e) {
|
|
1094
1094
|
PWLog.error(TAG, "No parameters passed (missing parameters)", e);
|
|
1095
1095
|
}
|