pushwoosh-react-native-plugin 6.1.43 → 6.1.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pushwoosh-react-native-plugin",
3
- "version": "6.1.43",
3
+ "version": "6.1.45",
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.43"
3
+ s.version = "6.1.45"
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.32"
40
+ pushwoosh = "6.7.36"
41
41
  }
42
42
 
43
43
  dependencies {
@@ -296,7 +296,7 @@ RCT_EXPORT_METHOD(getShowPushnotificationAlert:(RCTResponseSenderBlock)callback)
296
296
 
297
297
  RCT_EXPORT_METHOD(setUserId:(NSString*)userId success:(RCTResponseSenderBlock)successCallback error:(RCTResponseSenderBlock)errorCallback) {
298
298
 
299
- [[PWInAppManager sharedManager] setUserId:userId completion:^(NSError *error) {
299
+ [[Pushwoosh sharedInstance] setUserId:userId completion:^(NSError *error) {
300
300
  if (!error && successCallback) {
301
301
  successCallback(@[]);
302
302
  }