Files
react-native/Libraries
Jonathan Stanton e000b71845 Remote notification completion handler
Summary:
**Motivation**
To allow handling of remote notifications using the preferred delegate [application:didReceiveRemoteNotification:fetchCompletionHandler](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:fetchCompletionHandler:).

React native right now is setup to use [application:didReceiveRemoteNotification](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:) which doesn't give the engineer the option to call back to the app via a completion handler and inform the app that it is done with handling the push notification.

The primary reason to use the `fetchCompletionHandler` would be to wake up the app to fetch updates so the next time the user opens the app it will be up to date.

A new method will be exposed: `PushNotificationIOS#
Closes https://github.com/facebook/react-native/pull/8040

Differential Revision: D4081766

Pulled By: bestander

fbshipit-source-id: 2819061bd3a926cb1c9c743af5aabab8c0faec3d
2016-10-26 21:43:48 -07:00
..
2016-10-14 08:13:55 -07:00
2016-10-11 10:14:28 -07:00
2016-07-06 12:58:41 -07:00
2016-10-11 10:14:28 -07:00
2016-10-12 19:28:42 -07:00
2016-10-16 11:13:40 -07:00
2016-10-11 08:13:39 -07:00
2016-08-09 06:43:46 -07:00
2016-10-16 04:13:42 -07:00
2016-10-11 10:14:28 -07:00
2016-10-16 04:13:42 -07:00
2016-07-25 03:43:29 -07:00
2016-08-09 06:43:46 -07:00
2016-10-11 10:14:28 -07:00
2016-08-12 07:28:38 -07:00