pushwoosh-react-native-plugin 6.1.31 → 6.1.32

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,8 +58,12 @@ 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.32
62
+ - 6.1.31
61
63
  - 6.1.30
64
+ - 6.1.29
62
65
  - 6.1.28
66
+ - 6.1.27
63
67
  - 6.1.26
64
68
  - 6.1.25
65
69
  - 6.1.23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushwoosh-react-native-plugin",
3
- "version": "6.1.31",
3
+ "version": "6.1.32",
4
4
  "description": "This plugin allows you to send and receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "pushwoosh-react-native-plugin"
3
- s.version = "6.1.31"
3
+ s.version = "6.1.32"
4
4
  s.summary = "React Native Pushwoosh Push Notifications module"
5
5
  s.requires_arc = true
6
6
  s.author = 'Pushwoosh'
@@ -37,7 +37,7 @@ android {
37
37
  }
38
38
 
39
39
  ext {
40
- pushwoosh = "6.7.8"
40
+ pushwoosh = "6.7.10"
41
41
  }
42
42
 
43
43
  dependencies {
@@ -275,11 +275,6 @@ public class PushwooshPlugin extends ReactContextBaseJavaModule implements Lifec
275
275
  callback.invoke(Pushwoosh.getInstance().getUserId());
276
276
  }
277
277
 
278
- @ReactMethod
279
- public void setUserId(String userId) {
280
- PushwooshInApp.getInstance().setUserId(userId);
281
- }
282
-
283
278
  @ReactMethod
284
279
  public void setUserId(String userId, final Callback success, final Callback error) {
285
280
  Pushwoosh.getInstance().setUserId(userId, new com.pushwoosh.function.Callback<Boolean, SetUserIdException>() {
@@ -18,7 +18,7 @@
18
18
 
19
19
  #endif
20
20
 
21
- #define PUSHWOOSH_VERSION @"6.5.11"
21
+ #define PUSHWOOSH_VERSION @"6.5.13"
22
22
 
23
23
 
24
24
  @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy;
@@ -278,10 +278,6 @@ RCT_EXPORT_METHOD(getShowPushnotificationAlert:(RCTResponseSenderBlock)callback)
278
278
  }
279
279
  }
280
280
 
281
- RCT_EXPORT_METHOD(setUserId:(NSString*)userId) {
282
- [[PWInAppManager sharedManager] setUserId:userId];
283
- }
284
-
285
281
  RCT_EXPORT_METHOD(setUserId:(NSString*)userId success:(RCTResponseSenderBlock)successCallback error:(RCTResponseSenderBlock)errorCallback) {
286
282
 
287
283
  [[PWInAppManager sharedManager] setUserId:userId completion:^(NSError *error) {
Binary file