react-native/Libraries
Shruti Malugu edbb48c67a Replacing all instances of [UIApplication sharedApplication] wi…
Summary:
…th RCTSharedApplication()

Thanks for submitting a PR! Please read these instructions carefully:

- [ ] Explain the **motivation** for making this change.
          Using React Native latest version with Cocoapods 1.2.0 causes the following error inside iOS app extensions

> /react-native/React/Modules/RCTAccessibilityManager.m:67:70: ‘sharedApplication’ is unavailable: not available on iOS (App Extension) — Use view controller based solutions where appropriate instead.

Moving the use of [UIApplication sharedApplication] to RCTSharedApplication() which is safe on app extension

- [ ] Provide a **test plan** demonstrating that the code is solid.
        I am not sure how to test such that all the features which touch the modified code are tested.

- [ ] Match the **code formatting** of the rest of the codebase.
- [ ] Target the `master` branch, NOT a "stable" branch.

What existing problem does the pull request solve?
    Using React Native latest v
Closes https://github.com/facebook/react-native/pull/13227

Differential Revision: D4816338

Pulled By: javache

fbshipit-source-id: e3e3c77882990ad1817b0b633521cff52571ecd0
2017-04-01 03:34:41 -07:00
..
ART Better error for ART <Group /> 2016-12-07 17:13:42 -08:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Animated - Add missing super calls to fix native animated crash 2017-03-29 04:02:22 -07:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Support passing a collection of native modules to JSContext 2017-03-31 01:00:52 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Components Replaced View.propTypes with a static getter that warned about deprecation 2017-03-28 11:32:09 -07:00
Core Manually inline parseErrorStack 2017-03-28 08:38:13 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter Native Animated - Restore, reorganize and add new tests 2017-03-27 11:46:05 -07:00
Experimental Fix license headers on SwipableRow 2017-03-24 14:47:28 -07:00
Geolocation Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Image Ran codemod to replace View.propTypes with ViewPropTypes 2017-03-24 00:30:48 -07:00
Inspector work around inspector redbox due to Fiber 2017-02-21 15:45:45 -08:00
Interaction FrameRateLogger JS module 2017-03-24 18:30:59 -07:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Use checkPropTypes instead of directly calling PropTypes 2017-03-22 16:04:12 -07:00
Linking Add iOS Linking location example to docs 2017-03-31 10:46:55 -07:00
LinkingIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Lists onEndReached should clear when data changes 2017-03-28 20:07:09 -07:00
Modal Update documentation for Modal's prop animationType 2017-03-29 11:31:51 -07:00
NativeAnimation Fix tvOS build 2017-03-29 02:35:59 -07:00
Network Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Performance Support QuickPerformanceLogger.js in the old bridge 2017-02-16 11:33:48 -08:00
PermissionsAndroid inline a bunch of NativeModule requires 2017-02-17 16:49:38 -08:00
PushNotificationIOS Replacing all instances of [UIApplication sharedApplication] wi… 2017-04-01 03:34:41 -07:00
RCTTest Replacing all instances of [UIApplication sharedApplication] wi… 2017-04-01 03:34:41 -07:00
ReactNative Fix Warning/Yellow Box so it does not mess up app layout when opened. 2017-03-31 18:34:21 -07:00
Renderer Show more meaningful error stack in ReactNative redbox 2017-03-30 17:19:41 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Update Share.js. Fixed bad grammar 2016-11-23 11:28:29 -08:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Add display:none support to react native 2017-03-01 09:16:05 -08:00
Text Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Utilities Add flow typing to PerformanceLogger 2017-03-22 05:38:05 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
react-native Deprecate Navigator 2017-03-27 13:32:29 -07:00
vendor Remove `copyProperties` 2017-03-21 08:01:58 -07:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00