react-native/Libraries
Jacob Rosenthal a8cb47e011 add local notification api schedule and present
Summary:
Add local notifications to the push library.
```
  var PushNotificationIOS = React.PushNotificationIOS;
  PushNotificationIOS.requestPermissions();

  var notification = {
    "fireDate": Date.now() + 10000,
    "alertBody":"Whats up pumpkin"
  };

  PushNotificationIOS.scheduleLocalNotification(notification);
 //lock screen or move away from app
```

Apple has another api for pushing immediately instead of scheduling, like when your background delegate has been called with some new data (bluetooth, location, etc)
```
  var PushNotificationIOS = React.PushNotificationIOS;
  PushNotificationIOS.requestPermissions();

  var notification = {
    "alertBody":"Whats up pumpkin"
  };

  PushNotificationIOS.presentLocalNotification(notification);
 //lock screen or move away from app
```

Closed https://github.com/facebook/react-native/pull/843 looks related:

See https://developer.apple.com/library/ios/documentation/iPhone/Reference/UILocalNotification_Class/ for much more available in
Closes https://github.com/facebook/react-native/pull/1616
Github Author: Jacob Rosenthal <jakerosenthal@gmail.com>
2015-07-14 09:08:30 -08:00
..
ART Dynamic Text Sizes for Text component 2015-07-14 03:13:32 -08:00
ActionSheetIOS Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
AdSupport [React Native] Update native error callback handling 2015-07-07 08:54:05 -08:00
Animation [react-native] Typo fix (s/monolithically/monotonically/) 2015-07-09 14:40:50 -08:00
AppRegistry [Flow] Fix or suppress errors in react-native for Flow v0.13.0 2015-06-22 09:48:15 -08:00
AppStateIOS [RN|madman] init AppStateIOS.currentState with 'active' 2015-06-11 13:22:16 -08:00
BatchedBridge [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
CameraRoll [react_native] JS files from D2164068: support filtering by mimeType in CameraRollManager#getPhotos 2015-06-17 12:20:27 -08:00
Components [TabBarIOS] Add translucent property to TabBarIOS 2015-07-14 08:02:44 -08:00
CustomComponents s/RKScrollViewManager/RCTScrollViewManager 2015-07-14 07:52:30 -08:00
DebugComponentHierarchy [ReactNative] Send debug component ownership info in createView 2015-06-25 05:47:24 -08:00
Device flowify some Libraries 2015-03-25 11:09:54 -08:00
Fetch [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Geolocation Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
Image Merged RCTStaticImage with FB internal version 2015-07-14 04:06:18 -08:00
Inspector [rn] Add PerformanceOverlay to the inspector 2015-06-23 15:41:41 -08:00
Interaction InteractionManager: remove dev timeout warnings 2015-07-01 04:51:28 -08:00
JavaScriptAppEngine [ReactNative] Send debug component ownership info in createView 2015-06-25 05:47:24 -08:00
LinkingIOS Changed methodQueue to a property 2015-06-19 04:20:39 -08:00
NativeApp [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
Network Changing Error to Warning 2015-07-08 09:36:13 -08:00
Picker Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
PushNotificationIOS add local notification api schedule and present 2015-07-14 09:08:30 -08:00
RCTTest Migrate unit tests from FBReactKitModules to FBReactKit 2015-07-07 16:39:35 -08:00
RKBackendNode [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactIOS [react native] fix inspector touch bug 2015-07-10 11:53:23 -08:00
ReactNative [React Native] Update code comments about layout-only view 2015-07-14 02:52:45 -08:00
Settings Check for RCTSettingsManager in Settings.ios 2015-07-06 04:47:04 -08:00
Storage [Docs] Clarify in the AsyncStorage docs that it is global to the app, not OS 2015-06-15 14:18:09 -08:00
StyleSheet Sort StyleProps alphabetically 2015-06-15 13:29:46 -08:00
Text Dynamic Text Sizes for Text component 2015-07-14 03:13:32 -08:00
Utilities [ReactNative] Fix crash in ListView 2015-07-13 12:36:56 -08:00
Vibration Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
WebSocket [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
react-native [ReactNative] Export Easing module so folks can use it 2015-07-09 02:44:13 -08:00
vendor Update StaticContainer from static_upstream 2015-07-06 15:06:59 -08:00
Promise.js Replace ES6Promise with Promise 2015-04-15 06:06:29 -08:00