pushwoosh-cordova-plugin 8.3.41 → 8.3.42

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.41
17
+ cordova plugin add pushwoosh-cordova-plugin@8.3.42
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.41
23
+ cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git#8.3.42
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.41",
3
+ "version": "8.3.42",
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.41">
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.42">
3
3
 
4
4
  <name>Pushwoosh</name>
5
5
 
@@ -83,14 +83,14 @@
83
83
  <framework src="org.jetbrains.kotlin:kotlin-stdlib:1.1.60" />
84
84
  <framework src="com.google.android.material:material:1.12.0"/>
85
85
 
86
- <framework src="com.pushwoosh:pushwoosh:6.7.30"/>
87
- <framework src="com.pushwoosh:pushwoosh-amazon:6.7.30"/>
88
- <framework src="com.pushwoosh:pushwoosh-firebase:6.7.30"/>
89
- <framework src="com.pushwoosh:pushwoosh-badge:6.7.30"/>
90
- <framework src="com.pushwoosh:pushwoosh-inbox:6.7.30"/>
91
- <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.30"/>
92
- <framework src="com.pushwoosh:pushwoosh-huawei:6.7.30"/>
93
- <framework src="com.pushwoosh:pushwoosh-calls:6.7.30"/>
86
+ <framework src="com.pushwoosh:pushwoosh:6.7.31"/>
87
+ <framework src="com.pushwoosh:pushwoosh-amazon:6.7.31"/>
88
+ <framework src="com.pushwoosh:pushwoosh-firebase:6.7.31"/>
89
+ <framework src="com.pushwoosh:pushwoosh-badge:6.7.31"/>
90
+ <framework src="com.pushwoosh:pushwoosh-inbox:6.7.31"/>
91
+ <framework src="com.pushwoosh:pushwoosh-inbox-ui:6.7.31"/>
92
+ <framework src="com.pushwoosh:pushwoosh-huawei:6.7.31"/>
93
+ <framework src="com.pushwoosh:pushwoosh-calls:6.7.31"/>
94
94
  </platform>
95
95
 
96
96
  <!-- ios -->
@@ -132,7 +132,7 @@
132
132
  <source url="https://github.com/CocoaPods/Specs.git"/>
133
133
  </config>
134
134
  <pods use-frameworks="true">
135
- <pod name="PushwooshXCFramework" spec="6.9.4" />
135
+ <pod name="PushwooshXCFramework" spec="6.10.2" />
136
136
  <pod name="PushwooshInboxUIXCFramework" spec="6.1.2" />
137
137
  </pods>
138
138
  </podspec>
@@ -1,145 +0,0 @@
1
- name: "🐞 Bug Report"
2
- description: "Report us a bug"
3
- title: "[Bug]: "
4
- labels: ["bug"]
5
- body:
6
- - type: markdown
7
- attributes:
8
- value: |
9
- Thank you for taking the time to create this issue.
10
-
11
- The more detailed information filled below will help us to investigate the root cause of the issue faster and fix it.
12
- This form is for Cordova (PhoneGap) plugin only. If this is a bug for another platform or framework — please create the issue in the corresponded [repository](https://github.com/orgs/Pushwoosh/repositories). We appreciate your cooperation!
13
- - type: checkboxes
14
- id: rtfm
15
- attributes:
16
- label: Documentation
17
- description: "Have you checked the relevant integration guide: [Integrating Cordova plugin](https://docs.pushwoosh.com/platform-docs/pushwoosh-sdk/cross-platform-frameworks/cordova/integrating-cordova-plugin) which describes implementation process of the Pushwoosh SDK to your app and follow all the necessary steps?"
18
- options:
19
- - label: I've checked the guide, but it doesn't help me to resolve the issue.
20
- required: true
21
- - type: textarea
22
- id: description
23
- attributes:
24
- label: Description
25
- description: Short description of the issue. You can add screenshots and screencast to illustrate it.
26
- placeholder: "Example: When receiving a push with Rich Media in a closed app, Rich Media is not shown."
27
- validations:
28
- required: true
29
- - type: dropdown
30
- id: severity
31
- attributes:
32
- label: Bug severity
33
- description: |
34
- How do you rate the severity of this bug?
35
- For an objective assessment, please take into account how often this bug occurs in everyday app interaction, how serious the consequences of its occurrence (crash, warning, etc.), number of affected users, enviroment where it occurs (stage, production. etc.).
36
- options:
37
- - Low
38
- - Normal
39
- - High
40
- - Urgent
41
- validations:
42
- required: true
43
- - type: textarea
44
- id: repro-steps
45
- attributes:
46
- label: Steps to Reproduce
47
- description: Describe all the steps needed to reproduce the issue. If an issue is only reproducible under particular circumstances, put all required details here. E.g., if a push is not shown only for a specific API request, provide the full request body. Or, if an issue is reproducible with a particular Rich Media, deep link, etc. — specify it.
48
- placeholder: |
49
- 1. Open the app;
50
- 2. Switch it to the background;
51
- 3. Received notification with "root_params" causes the app to crash.
52
- This happens only if dependency XYZ v.1.2.3 is installed
53
- validations:
54
- required: true
55
- - type: dropdown
56
- id: affected-version
57
- attributes:
58
- label: Your Pushwoosh Cordova plugin version
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
- options:
61
- - 8.3.41
62
- - 8.3.40
63
- - 8.3.39
64
- - 8.3.38
65
- - 8.3.37
66
- - 8.3.36
67
- - 8.3.35
68
- - 8.3.34
69
- - 8.3.33
70
- - 8.3.28
71
- - 8.3.27
72
- - 8.3.26
73
- - 8.3.25
74
- - 8.3.24
75
- - 8.3.23
76
- - 8.3.22
77
- - 8.3.21
78
- - 8.3.20
79
- - 8.3.19
80
- - 8.3.18
81
- - 8.3.17
82
- - 8.3.16
83
- - 8.3.15
84
- - 8.3.14
85
- - 8.3.13
86
- - 8.3.12
87
- - 8.3.11
88
- - 8.3.10
89
- - 8.3.9
90
- - 8.3.8
91
- - 8.3.7
92
- - 8.3.6
93
- - 8.3.5
94
- - 8.3.4
95
- - 8.3.3
96
- - 8.3.2
97
- - 8.3.1
98
- - 8.3.0
99
- - Other — specify it in the description
100
- validations:
101
- required: true
102
- - type: input
103
- id: framework-version
104
- attributes:
105
- label: cordova package version
106
- description: Your cordova framework version
107
- validations:
108
- required: true
109
- - type: input
110
- id: last-worked
111
- attributes:
112
- label: Last worked Pushwoosh Cordova plugin version (if any)
113
- description: Is there a version that worked well? If so, please specify.
114
- - type: checkboxes
115
- id: platforms-affected
116
- attributes:
117
- label: Affected platforms
118
- description: Select the platforms on which the issue occurs. This helps us determine whether the root cause is core plugin or platform specific.
119
- options:
120
- - label: Android
121
- - label: iOS
122
- validations:
123
- required: true
124
- - type: textarea
125
- id: platform-versions
126
- attributes:
127
- label: Affected OS versions and/or devices
128
- description: Please specify device models and custom distributions (if any) on which this issue occurs. If the issue occurs when building, then specify the target platform.
129
- placeholder: |
130
- E.g. Android 13 on a Google Pixel 3a XL,
131
- iOS 17.0.3 on an iPhone 14
132
- MIUI 14.0.8.0 on Xiaomi 13 Ultra, etc.
133
- validations:
134
- required: true
135
- - type: textarea
136
- id: workaround
137
- attributes:
138
- label: Workaround
139
- description: Have you found a workaround for this issue? Please tell us — this may help other people to continue their work while waiting for this issue to be resolved.
140
- - type: textarea
141
- id: logs
142
- attributes:
143
- label: Relevant log output
144
- description: After reproducing the issue, copy device console logs and paste them here "as is". This code block will be formatted automatically, so no additional formatting is needed. If the issue occurs when building, then provide us building logs here.
145
- render: shell
@@ -1,31 +0,0 @@
1
- name: "💡 Feature request"
2
- description: "Suggest us a good idea or improvement"
3
- title: "[Feature]: "
4
- labels: ["feature"]
5
- body:
6
- - type: markdown
7
- attributes:
8
- value: |
9
- Thank you for taking the time to create this request.
10
-
11
- This form is for Cordova (PhoneGap) Plugin only. If this is a feature for another platform or framework — please create it in the corresponded [repository](https://github.com/orgs/Pushwoosh/repositories). We appreciate your cooperation!
12
-
13
- - type: textarea
14
- id: description
15
- attributes:
16
- label: Description
17
- description: Please tell us what's on your mind. You can add screenshots and screencast to illustrate your request.
18
- validations:
19
- required: true
20
-
21
- - type: textarea
22
- id: suggestions
23
- attributes:
24
- label: Sugeestions
25
- description: |
26
- If you know how you can achieve what you want or you have any information that may help us to achieve this, you can add it here.
27
- For example, links to repositories, discussion threads, documentation, code samples, etc.
28
-
29
- - type: markdown
30
- attributes:
31
- value: Thank you for your feedback!
@@ -1,28 +0,0 @@
1
- name: "❓ Question"
2
- description: "Ask us a question"
3
- title: "[Question]: "
4
- labels: ["question"]
5
- body:
6
- - type: markdown
7
- attributes:
8
- value: |
9
- Thank you for your question!
10
-
11
- This form is for Cordova (PhoneGap) Plugin only. If this is a question for another platform or framework — please create it in the corresponded [repository](https://github.com/orgs/Pushwoosh/repositories). We appreciate your cooperation!
12
-
13
- - type: checkboxes
14
- id: rtfm
15
- attributes:
16
- label: Documentation
17
- description: "Have you checked the relevant integration guide: [Integrating Cordova Plugin](https://docs.pushwoosh.com/platform-docs/pushwoosh-sdk/cross-platform-frameworks/cordova/integrating-cordova-plugin) which describes implementation process of the Pushwoosh SDK to your app and follow all the necessary steps?"
18
- options:
19
- - label: I've checked the guide, but I didn't find the information I needed there.
20
- required: true
21
-
22
- - type: textarea
23
- id: question
24
- attributes:
25
- label: Question
26
- description: How can we help you? Do you have any questions about the integration of the SDK or how it works? You can add screenshots and screencast to illustrate your request.
27
- validations:
28
- required: true
package/example/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Pushwoosh
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/example/README.md DELETED
@@ -1,77 +0,0 @@
1
- # CORDOVA SAMPLE
2
-
3
- ## To launch and utilize a sample with Pushwoosh SDK integration, clone or download the repository archive.
4
-
5
- ### iOS, Android
6
- <img src="https://github.com/Pushwoosh/pushwoosh-cordova-sample/blob/main/Screenshots/iOS.png" alt="Alt text" width="300"> <img src="https://github.com/Pushwoosh/pushwoosh-cordova-sample/blob/main/Screenshots/Android.png" alt="Alt text" width="350">
7
-
8
- ### 1. Go to 'newdemo' folder and install the package from the command line:
9
-
10
- ```
11
- cordova plugin add pushwoosh-cordova-plugin
12
- ```
13
-
14
- ### 2. Navigate to the js folder within the www directory and open the file named index.js. Add your App ID and FCM Sender ID
15
-
16
- ```
17
- /**
18
- * Function: onDeviceReady
19
- * [android, ios, wp8, windows] Initialize Pushwoosh plugin and trigger a start push message
20
- * Should be called on every app launch
21
- * Parameters:
22
- * "config.appid" - Pushwoosh application code
23
- * "config.projectid" - GCM project number for android platform
24
- * "config.serviceName" - MPNS service name for wp8 platform
25
- */
26
-
27
- function initPushwoosh() {
28
- var pushwoosh = cordova.require("pushwoosh-cordova-plugin.PushNotification");
29
-
30
- //Should be called before pushwoosh.onDeviceReady
31
- document.addEventListener('push-notification', function(event) {
32
- var notification = event.notification;
33
- // handle push open here
34
- });
35
-
36
- pushwoosh.onDeviceReady({
37
- appid: "XXXXX-XXXXX",
38
- projectid: "XXXXXXXXXXXXXXX",
39
- serviceName: "XXXX"
40
- });
41
- }
42
- ```
43
-
44
- ### 3. [Android] Add the 'google-services.json' file to the app folder in Android
45
-
46
- ### 4. [Android] Add the following section to your config.xml:
47
-
48
- ```
49
- <platform name="android">
50
- <resource-file src="google-services.json" target="app/google-services.json" />
51
- ...
52
- </platform>
53
-
54
- ```
55
-
56
- ### 5. [iOS] Badges
57
-
58
- ### a. Open the Xcode project, navigate to the TARGETS tab, and add your App Group name in the App Group section for both targets (newdemo and NotificationService).
59
-
60
- <img src="https://github.com/Pushwoosh/pushwoosh-cordova-sample/blob/main/Screenshots/xcode_1.png" alt="Alt text" width="500">
61
-
62
- ### b. Add the App Groups ID to your info.plist for each target of your application:
63
-
64
- ```
65
- <key>PW_APP_GROUPS_NAME</key>
66
- <string>group.com.example.demo</string>
67
-
68
- ```
69
-
70
- ## The guide for SDK integration is available on the Pushwoosh [website](https://docs.pushwoosh.com/platform-docs/pushwoosh-sdk/cross-platform-frameworks/cordova/integrating-cordova-plugin)
71
-
72
- Documentation:
73
- https://github.com/Pushwoosh/pushwoosh-ios-sdk/tree/master/Documentation
74
-
75
- Pushwoosh team
76
- http://www.pushwoosh.com
77
-
Binary file
Binary file
Binary file
@@ -1,20 +0,0 @@
1
- <?xml version='1.0' encoding='utf-8'?>
2
- <widget id="com.pushwoosh.newdemo" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3
- <name>newdemo</name>
4
- <description>Sample Apache Cordova App</description>
5
- <author email="dev@cordova.apache.org" href="https://cordova.apache.org">
6
- Apache Cordova Team
7
- </author>
8
- <content src="index.html" />
9
- <allow-intent href="http://*/*" />
10
- <allow-intent href="https://*/*" />
11
-
12
- <!-- Local Pushwoosh Cordova Plugin -->
13
- <plugin name="pushwoosh-cordova-plugin" spec="../../">
14
- <variable name="LOG_LEVEL" value="DEBUG" />
15
- <variable name="IOS_FOREGROUND_ALERT_TYPE" value="NONE" />
16
- <variable name="ANDROID_FOREGROUND_PUSH" value="false" />
17
- <variable name="PW_VOIP_IOS_ENABLED" value="true" />
18
- </plugin>
19
- </widget>
20
-