react-native/React/Profiler
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
..
RCTFPSGraph.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTFPSGraph.m Automated changes to remove implicit capture of self in blocks: Libraries/FBReactKit/BUCK 2016-07-07 12:44:14 -07:00
RCTJSCProfiler.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTJSCProfiler.m Tease apart React and RCTBatchedBridge targets 2017-03-21 18:31:23 -07:00
RCTMacros.h Make React Profiler asm position independent 2016-12-08 14:58:26 -08:00
RCTPerfMonitor.m Replacing all instances of [UIApplication sharedApplication] wi… 2017-04-01 03:34:41 -07:00
RCTProfile.h Improve fbsystrace support 2017-03-30 06:53:16 -07:00
RCTProfile.m Fixing another iOS app extension unsafe API usage in react native 2017-04-06 12:30:55 -07:00
RCTProfileTrampoline-arm.S Don't call libc malloc and free directly from assembly 2017-03-16 12:34:06 -07:00
RCTProfileTrampoline-arm64.S Don't call libc malloc and free directly from assembly 2017-03-16 12:34:06 -07:00
RCTProfileTrampoline-i386.S Don't call libc malloc and free directly from assembly 2017-03-16 12:34:06 -07:00
RCTProfileTrampoline-x86_64.S Don't call libc malloc and free directly from assembly 2017-03-16 12:34:06 -07:00