pushwoosh-cordova-plugin 8.3.32 → 8.3.34

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.
@@ -58,6 +58,8 @@ body:
58
58
  label: Your Pushwoosh Cordova plugin version
59
59
  description: Your version of the Cordova plugin integrated into the application. You may find it on the [releases page](https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/releases)
60
60
  options:
61
+ - 8.3.34
62
+ - 8.3.33
61
63
  - 8.3.28
62
64
  - 8.3.27
63
65
  - 8.3.26
package/README.md CHANGED
@@ -9,26 +9,18 @@ Cordova Pushwoosh Push Notifications plugin
9
9
 
10
10
  Cross-Platform push notifications by Pushwoosh for Cordova / PhoneGap
11
11
 
12
- #### Cordova
12
+ #### Usage
13
13
 
14
- Using npm (requires cordova 7.0+):
14
+ Using npm:
15
15
 
16
16
  ```
17
- cordova plugin add pushwoosh-cordova-plugin@8.3.32
17
+ cordova plugin add pushwoosh-cordova-plugin@8.3.34
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.32
24
- ```
25
-
26
- #### Phonegap
27
-
28
- Using npm (requires phonegap 7.1+):
29
-
30
- ```
31
- cordova plugin add pushwoosh-cordova-plugin@8.3.32
23
+ cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.34
32
24
  ```
33
25
 
34
26
  ### Guide
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushwoosh-cordova-plugin",
3
- "version": "8.3.32",
3
+ "version": "8.3.34",
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.32">
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.34">
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.12"/>
81
- <framework src="com.pushwoosh:pushwoosh-amazon:6.7.12"/>
82
- <framework src="com.pushwoosh:pushwoosh-firebase:6.7.12"/>
83
- <framework src="com.pushwoosh:pushwoosh-badge:6.7.12"/>
84
- <framework src="com.pushwoosh:pushwoosh-inbox:6.7.12"/>
85
- <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.12"/>
86
- <framework src="com.pushwoosh:pushwoosh-huawei:6.7.12"/>
80
+ <framework src="com.pushwoosh:pushwoosh:6.7.14"/>
81
+ <framework src="com.pushwoosh:pushwoosh-amazon:6.7.14"/>
82
+ <framework src="com.pushwoosh:pushwoosh-firebase:6.7.14"/>
83
+ <framework src="com.pushwoosh:pushwoosh-badge:6.7.14"/>
84
+ <framework src="com.pushwoosh:pushwoosh-inbox:6.7.14"/>
85
+ <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.14"/>
86
+ <framework src="com.pushwoosh:pushwoosh-huawei:6.7.14"/>
87
87
  </platform>
88
88
 
89
89
  <!-- ios -->
@@ -125,7 +125,7 @@
125
125
  <source url="https://github.com/CocoaPods/Specs.git"/>
126
126
  </config>
127
127
  <pods use-frameworks="true">
128
- <pod name="PushwooshXCFramework" spec="6.7.4" />
128
+ <pod name="PushwooshXCFramework" spec="6.7.9" />
129
129
  <pod name="PushwooshInboxUIXCFramework" spec="6.1.2" />
130
130
  </pods>
131
131
  </podspec>
@@ -154,39 +154,7 @@ API_AVAILABLE(ios(10))
154
154
  [PushNotificationManager initializeWithAppCode:appid appName:appname];
155
155
  }
156
156
 
157
- if (@available(iOS 10, *)) {
158
- BOOL shouldReplaceDelegate = YES;
159
- UNUserNotificationCenter *notificationCenter = [UNUserNotificationCenter currentNotificationCenter];
160
-
161
- if (notificationCenter.delegate != nil) {
162
- if ([notificationCenter.delegate conformsToProtocol:@protocol(PushNotificationDelegate)]) {
163
- shouldReplaceDelegate = NO;
164
- }
165
- }
166
-
167
- if (notificationCenter.delegate != nil) {
168
- if (shouldReplaceDelegate) {
169
- _originalNotificationCenterDelegate = notificationCenter.delegate;
170
- _originalNotificationCenterDelegateResponds.openSettingsForNotification =
171
- (unsigned int)[_originalNotificationCenterDelegate
172
- respondsToSelector:@selector(userNotificationCenter:openSettingsForNotification:)];
173
- _originalNotificationCenterDelegateResponds.willPresentNotification =
174
- (unsigned int)[_originalNotificationCenterDelegate
175
- respondsToSelector:@selector(userNotificationCenter:
176
- willPresentNotification:withCompletionHandler:)];
177
- _originalNotificationCenterDelegateResponds.didReceiveNotificationResponse =
178
- (unsigned int)[_originalNotificationCenterDelegate
179
- respondsToSelector:@selector(userNotificationCenter:
180
- didReceiveNotificationResponse:withCompletionHandler:)];
181
- }
182
- }
183
-
184
- if (shouldReplaceDelegate) {
185
- __strong PushNotification<UNUserNotificationCenterDelegate> *strongSelf = (PushNotification<UNUserNotificationCenterDelegate> *)self;
186
- notificationCenter.delegate = (id<UNUserNotificationCenterDelegate>)strongSelf;
187
- }
188
- }
189
-
157
+ [UNUserNotificationCenter currentNotificationCenter].delegate = [PushNotificationManager pushManager].notificationCenterDelegate;
190
158
  [self.pushManager sendAppOpen];
191
159
 
192
160
  NSString * alertTypeString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"Pushwoosh_ALERT_TYPE"];
package/README_PGB.md DELETED
@@ -1,32 +0,0 @@
1
- Phonegap Pushwoosh Push Notifications plugin
2
- ===================================================
3
-
4
- [![GitHub release](https://img.shields.io/github/release/Pushwoosh/pushwoosh-phonegap-plugin.svg?style=flat-square)](https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/releases)
5
- [![npm](https://img.shields.io/npm/v/pushwoosh-pgb-plugin.svg)](https://www.npmjs.com/package/pushwoosh-pgb-plugin)
6
- [![license](https://img.shields.io/npm/l/pushwoosh-pgb-plugin.svg)](https://www.npmjs.com/package/pushwoosh-pgb-plugin)
7
-
8
- ![platforms](https://img.shields.io/badge/platforms-android%20%7C%20ios%20%7C%20wp8%20%7C%20windows%20-yellowgreen.svg)
9
-
10
- Cross-Platform push notifications by Pushwoosh for PhoneGap
11
-
12
- ### Installation
13
-
14
- Using npm (requires cordova 5.0+):
15
-
16
- ```
17
- cordova plugin add pushwoosh-pgb-plugin@8.3.32
18
- ```
19
-
20
- ### Guide
21
-
22
- http://docs.pushwoosh.com/docs/phonegap-build
23
-
24
- ### Documentation
25
-
26
- http://docs.pushwoosh.com/docs/cordova-api-reference
27
-
28
- ### Acknowledgments
29
- Plugman support by Platogo
30
-
31
- HUGE thanks to Eddy Verbruggen for all the help with WP8 Phonegap support!!!
32
- https://github.com/EddyVerbruggen
package/package_pgb.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "name": "pushwoosh-pgb-plugin",
3
- "version": "7.0.11",
4
- "description": "\n This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).\n ",
5
- "cordova": {
6
- "id": "pushwoosh-pgb-plugin",
7
- "platforms": [
8
- "android",
9
- "ios",
10
- "wp8"
11
- ]
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "git+https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git"
16
- },
17
- "keywords": [
18
- "ecosystem:cordova",
19
- "cordova-android",
20
- "cordova-ios",
21
- "cordova-wp8"
22
- ],
23
- "author": "Pushwoosh",
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/issues"
27
- },
28
- "homepage": "https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin#readme"
29
- }