react-native/Libraries/PushNotificationIOS
Andrew Imm 89a1e94a15 Add an event for remote notification registration, and improve permissions request
Summary:
In order to add Push support to the Parse JS SDK in React Native, we need a way to receive the APNS device token from the JS context. This adds another event to PushNotificationIOS, so that code can respond to a successful registration.

Additionally, I've updated the `requestPermissions` call to accept an optional map of parameters. This way, developers can request a subset of user notification types.
Closes https://github.com/facebook/react-native/pull/1304
Github Author: Andrew Imm <andrewi@fb.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-06-03 14:06:44 -08:00
..
RCTPushNotification.xcodeproj Improved debug and fixed macros 2015-04-30 09:59:16 -08:00
PushNotificationIOS.js Add an event for remote notification registration, and improve permissions request 2015-06-03 14:06:44 -08:00
RCTPushNotificationManager.h Add an event for remote notification registration, and improve permissions request 2015-06-03 14:06:44 -08:00
RCTPushNotificationManager.m Add an event for remote notification registration, and improve permissions request 2015-06-03 14:06:44 -08:00