pushwoosh-cordova-plugin 8.3.19 → 8.3.20

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 (requires cordova 7.0+):
15
15
 
16
16
  ```
17
- cordova plugin add pushwoosh-cordova-plugin@8.3.19
17
+ cordova plugin add pushwoosh-cordova-plugin@8.3.20
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.19
23
+ cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.20
24
24
  ```
25
25
 
26
26
  #### Phonegap
@@ -28,7 +28,7 @@ cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.
28
28
  Using npm (requires phonegap 7.1+):
29
29
 
30
30
  ```
31
- cordova plugin add pushwoosh-cordova-plugin@8.3.19
31
+ cordova plugin add pushwoosh-cordova-plugin@8.3.20
32
32
  ```
33
33
 
34
34
  ### Guide
package/README_PGB.md CHANGED
@@ -14,7 +14,7 @@ Cross-Platform push notifications by Pushwoosh for PhoneGap
14
14
  Using npm (requires cordova 5.0+):
15
15
 
16
16
  ```
17
- cordova plugin add pushwoosh-pgb-plugin@8.3.19
17
+ cordova plugin add pushwoosh-pgb-plugin@8.3.20
18
18
  ```
19
19
 
20
20
  ### Guide
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushwoosh-cordova-plugin",
3
- "version": "8.3.19",
3
+ "version": "8.3.20",
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.19">
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.20">
3
3
 
4
4
  <name>Pushwoosh</name>
5
5
 
@@ -77,13 +77,13 @@
77
77
  <framework src="com.github.bumptech.glide:glide:4.10.0" />
78
78
  <framework src="org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.60" />
79
79
 
80
- <framework src="com.pushwoosh:pushwoosh:6.7.1"/>
81
- <framework src="com.pushwoosh:pushwoosh-amazon:6.7.1"/>
82
- <framework src="com.pushwoosh:pushwoosh-firebase:6.7.1"/>
83
- <framework src="com.pushwoosh:pushwoosh-badge:6.7.1"/>
84
- <framework src="com.pushwoosh:pushwoosh-inbox:6.7.1"/>
85
- <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.1"/>
86
- <framework src="com.pushwoosh:pushwoosh-huawei:6.7.1"/>
80
+ <framework src="com.pushwoosh:pushwoosh:6.7.2"/>
81
+ <framework src="com.pushwoosh:pushwoosh-amazon:6.7.2"/>
82
+ <framework src="com.pushwoosh:pushwoosh-firebase:6.7.2"/>
83
+ <framework src="com.pushwoosh:pushwoosh-badge:6.7.2"/>
84
+ <framework src="com.pushwoosh:pushwoosh-inbox:6.7.2"/>
85
+ <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.2"/>
86
+ <framework src="com.pushwoosh:pushwoosh-huawei:6.7.2"/>
87
87
  </platform>
88
88
 
89
89
  <!-- ios -->
@@ -206,18 +206,6 @@ API_AVAILABLE(ios(10))
206
206
  API_AVAILABLE(ios(10.0)) {
207
207
 
208
208
  if ([self isRemoteNotification:notification] && [PWMessage isPushwooshMessage:notification.request.content.userInfo]) {
209
- UNMutableNotificationContent *content = notification.request.content.mutableCopy;
210
-
211
- NSMutableDictionary *userInfo = content.userInfo.mutableCopy;
212
- userInfo[@"pw_push"] = @(YES);
213
-
214
- content.userInfo = userInfo;
215
-
216
- //newsstand push
217
- if (![self isContentAvailablePush:userInfo]) {
218
- [[Pushwoosh sharedInstance] handlePushReceived:[self pushPayloadFromContent:content]];
219
- }
220
-
221
209
  completionHandler(UNNotificationPresentationOptionNone);
222
210
  } else if ([PushNotificationManager pushManager].showPushnotificationAlert || [notification.request.content.userInfo objectForKey:@"pw_push"] == nil) {
223
211
  completionHandler(UNNotificationPresentationOptionBadge | UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionSound);