pushwoosh-react-native-plugin 6.1.36 → 6.1.38
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/.github/ISSUE_TEMPLATE/bug_report.yml +2 -0
- package/package.json +1 -1
- package/pushwoosh-react-native-plugin.podspec +2 -2
- package/src/android/build.gradle +1 -1
- package/src/android/src/main/java/com/pushwoosh/reactnativeplugin/PushwooshPlugin.java +11 -0
- package/src/ios/PushwooshPlugin/Pushwoosh.m +1 -1
|
@@ -58,6 +58,8 @@ body:
|
|
|
58
58
|
label: Your Pushwoosh React Native Plugin version
|
|
59
59
|
description: Your React Native Plugin version which was integrated to the app. You may find it on the [releases page](https://github.com/Pushwoosh/pushwoosh-react-native-plugin/releases)
|
|
60
60
|
options:
|
|
61
|
+
- 6.1.38
|
|
62
|
+
- 6.1.37
|
|
61
63
|
- 6.1.36
|
|
62
64
|
- 6.1.35
|
|
63
65
|
- 6.1.34
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "pushwoosh-react-native-plugin"
|
|
3
|
-
s.version = "6.1.
|
|
3
|
+
s.version = "6.1.38"
|
|
4
4
|
s.summary = "React Native Pushwoosh Push Notifications module"
|
|
5
5
|
s.requires_arc = true
|
|
6
6
|
s.author = 'Pushwoosh'
|
|
@@ -15,6 +15,6 @@ Pod::Spec.new do |s|
|
|
|
15
15
|
s.static_framework = true
|
|
16
16
|
|
|
17
17
|
s.dependency 'React'
|
|
18
|
-
s.dependency 'PushwooshXCFramework', '6.
|
|
18
|
+
s.dependency 'PushwooshXCFramework', '6.8.5'
|
|
19
19
|
s.dependency 'PushwooshInboxUIXCFramework'
|
|
20
20
|
end
|
package/src/android/build.gradle
CHANGED
|
@@ -188,6 +188,17 @@ public class PushwooshPlugin extends ReactContextBaseJavaModule implements Lifec
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
@ReactMethod
|
|
192
|
+
public void addListener(String eventName) {
|
|
193
|
+
// Required for NativeEventEmitter. No need to do anything here.
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@ReactMethod
|
|
197
|
+
public void removeListeners(Integer count) {
|
|
198
|
+
// Required for NativeEventEmitter. No need to do anything here.
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
191
202
|
@ReactMethod
|
|
192
203
|
public void setEmails(@NonNull ReadableArray emails, final Callback success, final Callback error) {
|
|
193
204
|
Pushwoosh.getInstance().setEmail(ConversionUtil.messageCodesArrayToArrayList(emails), new com.pushwoosh.function.Callback<Boolean, SetEmailException>() {
|