Fixing another iOS app extension unsafe API usage in react native
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

cdlewis/react-native,adamjmcgrath/react-native,facebook/react-native,hoastoolshop/react-native,ndejesus1227/react-native,clozr/react-native,hoastoolshop/react-native,happypancake/react-native,farazs/react-native,hoastoolshop/react-native,exponent/react-native,skevy/react-native,shrutic123/react-native,tsjing/react-native,PlexChat/react-native,ndejesus1227/react-native,adamjmcgrath/react-native,adamjmcgrath/react-native,ptmt/react-native-macos,chnfeeeeeef/react-native,javache/react-native,myntra/react-native,Guardiannw/react-native,alin23/react-native,lprhodes/react-native,dikaiosune/react-native,farazs/react-native,lprhodes/react-native,myntra/react-native,lprhodes/react-native,farazs/react-native,Guardiannw/react-native,aljs/react-native,brentvatne/react-native,peterp/react-native,PlexChat/react-native,brentvatne/react-native,kesha-antonov/react-native,gilesvangruisen/react-native,clozr/react-native,clozr/react-native,rickbeerendonk/react-native,makadaw/react-native,forcedotcom/react-native,ptomasroos/react-native,javache/react-native,Bhullnatik/react-native,hoangpham95/react-native,gilesvangruisen/react-native,exponentjs/react-native,myntra/react-native,alin23/react-native,cdlewis/react-native,hammerandchisel/react-native,janicduplessis/react-native,kesha-antonov/react-native,Livyli/react-native,thotegowda/react-native,alin23/react-native,alin23/react-native,Ehesp/react-native,chnfeeeeeef/react-native,ndejesus1227/react-native,kesha-antonov/react-native,aljs/react-native,happypancake/react-native,thotegowda/react-native,doochik/react-native,doochik/react-native,Bhullnatik/react-native,hammerandchisel/react-native,hammerandchisel/react-native,happypancake/react-native,PlexChat/react-native,ptomasroos/react-native,facebook/react-native,tsjing/react-native,doochik/react-native,skevy/react-native,adamjmcgrath/react-native,chnfeeeeeef/react-native,janicduplessis/react-native,thotegowda/react-native,pandiaraj44/react-native,jasonnoahchoi/react-native,rickbeerendonk/react-native,Livyli/react-native,Ehesp/react-native,Maxwell2022/react-native,ptomasroos/react-native,Livyli/react-native,doochik/react-native,makadaw/react-native,hoangpham95/react-native,janicduplessis/react-native,jevakallio/react-native,cpunion/react-native,tszajna0/react-native,pandiaraj44/react-native,mironiasty/react-native,thotegowda/react-native,negativetwelve/react-native,shrutic123/react-native,pandiaraj44/react-native,Guardiannw/react-native,exponentjs/react-native,shrutic123/react-native,gilesvangruisen/react-native,tszajna0/react-native,cdlewis/react-native,gilesvangruisen/react-native,dikaiosune/react-native,farazs/react-native,cpunion/react-native,jevakallio/react-native,javache/react-native,peterp/react-native,Swaagie/react-native,PlexChat/react-native,aljs/react-native,mironiasty/react-native,skevy/react-native,Guardiannw/react-native,tszajna0/react-native,ndejesus1227/react-native,Swaagie/react-native,cdlewis/react-native,facebook/react-native,ptomasroos/react-native,cdlewis/react-native,myntra/react-native,negativetwelve/react-native,kesha-antonov/react-native,ptmt/react-native-macos,brentvatne/react-native,mironiasty/react-native,exponent/react-native,jevakallio/react-native,forcedotcom/react-native,kesha-antonov/react-native,ndejesus1227/react-native,brentvatne/react-native,Guardiannw/react-native,javache/react-native,csatf/react-native,peterp/react-native,csatf/react-native,exponent/react-native,csatf/react-native,facebook/react-native,negativetwelve/react-native,jasonnoahchoi/react-native,Maxwell2022/react-native,lprhodes/react-native,mironiasty/react-native,aljs/react-native,lprhodes/react-native,Ehesp/react-native,kesha-antonov/react-native,hoangpham95/react-native,tsjing/react-native,exponent/react-native,janicduplessis/react-native,facebook/react-native,ptmt/react-native-macos,tsjing/react-native,tszajna0/react-native,myntra/react-native,tsjing/react-native,hammerandchisel/react-native,lprhodes/react-native,Guardiannw/react-native,lprhodes/react-native,makadaw/react-native,Swaagie/react-native,formatlos/react-native,hoastoolshop/react-native,aljs/react-native,aljs/react-native,arthuralee/react-native,csatf/react-native,farazs/react-native,Livyli/react-native,Swaagie/react-native,makadaw/react-native,janicduplessis/react-native,rickbeerendonk/react-native,shrutic123/react-native,jasonnoahchoi/react-native,exponentjs/react-native,Ehesp/react-native,Swaagie/react-native,chnfeeeeeef/react-native,negativetwelve/react-native,mironiasty/react-native,Bhullnatik/react-native,forcedotcom/react-native,formatlos/react-native,exponentjs/react-native,Maxwell2022/react-native,kesha-antonov/react-native,tszajna0/react-native,Livyli/react-native,ptmt/react-native-macos,tsjing/react-native,adamjmcgrath/react-native,ptmt/react-native-macos,adamjmcgrath/react-native,dikaiosune/react-native,hoastoolshop/react-native,exponent/react-native,dikaiosune/react-native,hoastoolshop/react-native,negativetwelve/react-native,shrutic123/react-native,PlexChat/react-native,hoangpham95/react-native,dikaiosune/react-native,hammerandchisel/react-native,clozr/react-native,doochik/react-native,cpunion/react-native,facebook/react-native,javache/react-native,exponentjs/react-native,janicduplessis/react-native,hammerandchisel/react-native,jevakallio/react-native,dikaiosune/react-native,ptomasroos/react-native,PlexChat/react-native,Maxwell2022/react-native,formatlos/react-native,exponent/react-native,skevy/react-native,cdlewis/react-native,jevakallio/react-native,adamjmcgrath/react-native,cpunion/react-native,Maxwell2022/react-native,rickbeerendonk/react-native,arthuralee/react-native,myntra/react-native,happypancake/react-native,exponentjs/react-native,alin23/react-native,ptomasroos/react-native,hammerandchisel/react-native,tszajna0/react-native,gilesvangruisen/react-native,tsjing/react-native,csatf/react-native,hoangpham95/react-native,csatf/react-native,frantic/react-native,peterp/react-native,clozr/react-native,makadaw/react-native,dikaiosune/react-native,hoastoolshop/react-native,forcedotcom/react-native,pandiaraj44/react-native,arthuralee/react-native,makadaw/react-native,pandiaraj44/react-native,Bhullnatik/react-native,doochik/react-native,forcedotcom/react-native,formatlos/react-native,tsjing/react-native,thotegowda/react-native,jasonnoahchoi/react-native,skevy/react-native,formatlos/react-native,mironiasty/react-native,Bhullnatik/react-native,exponentjs/react-native,dikaiosune/react-native,makadaw/react-native,kesha-antonov/react-native,clozr/react-native,javache/react-native,brentvatne/react-native,skevy/react-native,gilesvangruisen/react-native,hoastoolshop/react-native,thotegowda/react-native,javache/react-native,brentvatne/react-native,Bhullnatik/react-native,alin23/react-native,Maxwell2022/react-native,Ehesp/react-native,Livyli/react-native,farazs/react-native,negativetwelve/react-native,jasonnoahchoi/react-native,rickbeerendonk/react-native,doochik/react-native,doochik/react-native,tszajna0/react-native,myntra/react-native,shrutic123/react-native,Swaagie/react-native,pandiaraj44/react-native,Maxwell2022/react-native,brentvatne/react-native,exponentjs/react-native,thotegowda/react-native,Guardiannw/react-native,Ehesp/react-native,arthuralee/react-native,peterp/react-native,ndejesus1227/react-native,gilesvangruisen/react-native,pandiaraj44/react-native,farazs/react-native,ndejesus1227/react-native,alin23/react-native,pandiaraj44/react-native,gilesvangruisen/react-native,mironiasty/react-native,mironiasty/react-native,makadaw/react-native,rickbeerendonk/react-native,jevakallio/react-native,Bhullnatik/react-native,negativetwelve/react-native,cpunion/react-native,shrutic123/react-native,frantic/react-native,formatlos/react-native,happypancake/react-native,jevakallio/react-native,mironiasty/react-native,happypancake/react-native,Ehesp/react-native,skevy/react-native,myntra/react-native,chnfeeeeeef/react-native,Maxwell2022/react-native,Livyli/react-native,chnfeeeeeef/react-native,clozr/react-native,frantic/react-native,rickbeerendonk/react-native,forcedotcom/react-native,csatf/react-native,ndejesus1227/react-native,cpunion/react-native,farazs/react-native,peterp/react-native,chnfeeeeeef/react-native,tszajna0/react-native,makadaw/react-native,shrutic123/react-native,Ehesp/react-native,ptmt/react-native-macos,alin23/react-native,kesha-antonov/react-native,janicduplessis/react-native,clozr/react-native,brentvatne/react-native,negativetwelve/react-native,cpunion/react-native,jevakallio/react-native,chnfeeeeeef/react-native,brentvatne/react-native,facebook/react-native,skevy/react-native,happypancake/react-native,Guardiannw/react-native,rickbeerendonk/react-native,hoangpham95/react-native,ptmt/react-native-macos,facebook/react-native,peterp/react-native,ptomasroos/react-native,frantic/react-native,doochik/react-native,formatlos/react-native,hammerandchisel/react-native,lprhodes/react-native,PlexChat/react-native,exponent/react-native,forcedotcom/react-native,aljs/react-native,jevakallio/react-native,forcedotcom/react-native,hoangpham95/react-native,cpunion/react-native,cdlewis/react-native,cdlewis/react-native,Swaagie/react-native,javache/react-native,formatlos/react-native,Livyli/react-native,PlexChat/react-native,aljs/react-native,javache/react-native,thotegowda/react-native,ptomasroos/react-native,myntra/react-native,adamjmcgrath/react-native,rickbeerendonk/react-native,formatlos/react-native,csatf/react-native,facebook/react-native,ptmt/react-native-macos,exponent/react-native,farazs/react-native,frantic/react-native,happypancake/react-native,negativetwelve/react-native,hoangpham95/react-native,janicduplessis/react-native,jasonnoahchoi/react-native,jasonnoahchoi/react-native,cdlewis/react-native,Swaagie/react-native,arthuralee/react-native,jasonnoahchoi/react-native,Bhullnatik/react-native,peterp/react-native