react-native/React
Shruti Malugu 39eb090906 Fixing another iOS app extension unsafe API usage in react native
Summary:
Thanks for submitting a PR! Please read these instructions carefully:

- [yes] Explain the **motivation** for making this change.
    Using react-native library inside iOS app extension causes a compile error inside react native stating that usage of UIAlertView is not allowed inside iOS app extension and should use UIAlertController instead. I have updated the code to use UIAlertController based on the other instances of the UIAlertController usage in the react-native library

- [ partial ] Provide a **test plan** demonstrating that the code is solid.
This code should be launched when developers start the profiler from the React native debug menu. I am currently in process of upgrading my app from 0.34 to the latest react native ( aka app not in working state). Would appreciate if there is an alternative way for me to test this functionality out.

Just tried to create a new react-native project using "react-native init testproject" and upon running "react-native run-ios", I  hit the following error a
Closes https://github.com/facebook/react-native/pull/13328

Differential Revision: D4844559

Pulled By: javache

fbshipit-source-id: e516ca57cb2abf2b09aa53abecb0fe60a40190b4
2017-04-06 12:30:55 -07:00
..
Base Check that RCTDidInitializeModuleNotification is being called with the correct bridge 2017-04-06 00:46:05 -07:00
CxxBridge Move bindKeys to RCTBridge setUp 2017-03-31 05:31:26 -07:00
CxxModule Extract module registry creation to helper 2017-03-17 07:08:14 -07:00
CxxUtils Move RCTFollyConvert to the correct namespace 2017-02-16 06:59:27 -08:00
DevSupport Fix warnings in React.xcodeproj 2017-03-23 11:36:17 -07:00
Executors Tease apart React and RCTBatchedBridge targets 2017-03-21 18:31:23 -07:00
Modules Fix order of timers called in the same frame 2017-04-03 18:48:48 -07:00
Profiler Fixing another iOS app extension unsafe API usage in react native 2017-04-06 12:30:55 -07:00
React.xcodeproj Add YGEnums to tvOS build 2017-04-04 10:00:36 -07:00
ReactCxx.xcodeproj Fix YGEnums references in ReactCxx.xcodeproj 2017-04-04 15:40:04 -07:00
Views Better TextInput: Simplified focus/first-responder management on iOS 2017-04-03 15:16:16 -07:00
folly.xcconfig Update Boost dependency to 1.63 on iOS 2017-03-10 05:45:28 -08:00