pushwoosh-react-native-plugin 6.1.28 → 6.1.29

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.28",
3
+ "version": "6.1.29",
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.28"
3
+ s.version = "6.1.29"
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.3"
40
+ pushwoosh = "6.7.4"
41
41
  }
42
42
 
43
43
  dependencies {
@@ -373,6 +373,10 @@ RCT_EXPORT_METHOD(performAction:(NSString*)code) {
373
373
  [[Pushwoosh sharedInstance] handlePushRegistrationFailure:error];
374
374
  }
375
375
 
376
+ - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
377
+ [[Pushwoosh sharedInstance] handlePushReceived:userInfo];
378
+ }
379
+
376
380
  #pragma mark - UNUserNotificationCenter Delegate Methods
377
381
  #pragma mark -
378
382