react-native/Libraries
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
..
ART [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ActionSheetIOS [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
AdSupport [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
Animation [ReactNative] Remove AnimationUtils tests 2015-05-29 15:24:47 -08:00
AppRegistry [ErrorMessage] Change error message when app is not registered 2015-05-31 13:14:02 -08:00
AppStateIOS add missing require("Map") 2015-05-26 15:08:33 -08:00
BatchedBridge Revert "[Bridge] Add support for JS async functions to RCT_EXPORT_METHOD" 2015-06-01 20:26:37 -08:00
CameraRoll [CameraRoll] support fetching videos from the camera roll 2015-06-01 15:57:32 -08:00
Components [Touchable] Add custom delay props to Touchable components 2015-06-03 12:57:28 -08:00
CustomComponents [ReactNative] Navigator block touches on scene when navigating 2015-06-01 16:35:43 -08:00
Device
Fetch [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Geolocation [GeoLocation] invalidate timer after success or error callback 2015-05-26 14:59:14 -08:00
Image Revert "[ReactNative] Run UIExplorer tests on sandcastle" 2015-06-03 10:57:19 -08:00
Interaction InteractionManager: DEV warning for possibly unclosed handles 2015-05-20 16:54:03 -08:00
JavaScriptAppEngine [ReactNative] ErrorUtils.reportError shouldn't redbox 2015-06-02 17:47:49 -08:00
LinkingIOS Updates from Fri 24 Apr 2015-04-24 11:46:18 -07:00
NativeApp [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
Network Simplify RKDataManager 2015-06-03 05:36:25 -08:00
Picker [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
PushNotificationIOS Add an event for remote notification registration, and improve permissions request 2015-06-03 14:06:44 -08:00
RCTTest Revert "[ReactNative] Run UIExplorer tests on sandcastle" 2015-06-03 10:57:19 -08:00
RKBackendNode [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactIOS add style inspector + more margin + styles 2015-06-03 14:02:18 -08:00
ReactNative Set constructor properly in createReactNativeComponentClass 2015-05-31 12:59:53 -08:00
Settings [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Storage Make AsyncStorage types match the implementations 2015-05-01 18:26:11 -08:00
StyleSheet [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Text Fixed text update on OSS 2015-06-01 08:44:11 -08:00
Utilities Revert "[Timers] Batch setImmediate handlers" 2015-06-03 03:15:20 -08:00
Vibration [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
WebSocket Fixed RCTWebSocket and chrome debugging in OSS 2015-05-15 11:37:07 -08:00
react-native Added ProgressViewIOS 2015-06-03 09:49:35 -08:00
vendor [Touchable] Add custom delay props to Touchable components 2015-06-03 12:57:28 -08:00
Inspector.js add style inspector + more margin + styles 2015-06-03 14:02:18 -08:00
Promise.js Replace ES6Promise with Promise 2015-04-15 06:06:29 -08:00