react-native-macos/React/Base
Chunlok Lo 2968450195 Allow extensions to set their own presentedViewController
Summary:
Since extensions does not have access to sharedApplication, give them an option to set the presentedViewController.
This will allow modules such as RCTAlertsManager to function correctly in extensions.
Changelog: [General] [Added] - Added RCTUtilsUIOverride as a way to shortcut obtaining presentedViewController from sharedApplication to a supplied view controller for extensions.

Reviewed By: PeteTheHeat

Differential Revision: D18620886

fbshipit-source-id: c752a6e328588f388e23be5270bf7da277182cca
2019-11-22 00:47:22 -08:00
..
Surface Remove unneeded NSNotification center removeObserver 2019-11-04 10:19:30 -08:00
RCTAssert.h Extract RCTFormatStackTrace function from RCTFormatError 2019-11-14 10:33:14 -08:00
RCTAssert.m Extract RCTFormatStackTrace function from RCTFormatError 2019-11-14 10:33:14 -08:00
RCTBridge+Private.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTBridge.h Deprecate RCTBridgeWillReloadNotification [3/n] 2019-10-30 12:23:24 -07:00
RCTBridge.m Fix Reload stats 2019-11-18 16:17:09 -08:00
RCTBridgeDelegate.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTBridgeMethod.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTBridgeModule.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTBundleURLProvider.h Expose [RCTBundleURLProvider isPackagerRunning] publicly (#27012) 2019-10-30 08:36:45 -07:00
RCTBundleURLProvider.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTComponentEvent.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTComponentEvent.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTConvert.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTConvert.m Remove -Wno-unguarded-availability from ReactInternal 2019-11-04 12:03:10 -08:00
RCTCxxConvert.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTCxxConvert.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTDefines.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTDisplayLink.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTDisplayLink.m Ensure RCTDisplayLink and RCTTurboModuleManager are cleaned up properly [3/N] 2019-11-06 14:20:56 -08:00
RCTErrorCustomizer.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTErrorInfo.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTErrorInfo.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTEventDispatcher.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTEventDispatcher.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTFrameUpdate.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTFrameUpdate.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageSource.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageSource.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTInvalidating.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTJSStackFrame.h Render collapsed frames in RedBox 2019-10-22 11:05:36 -07:00
RCTJSStackFrame.m Render collapsed frames in RedBox 2019-10-22 11:05:36 -07:00
RCTJavaScriptExecutor.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTJavaScriptLoader.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTJavaScriptLoader.mm Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTKeyCommands.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTKeyCommands.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTLog.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTLog.mm Make RedBox TurboModule-compatible 2019-11-04 16:07:23 -08:00
RCTManagedPointer.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTManagedPointer.mm Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTModuleData.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTModuleData.mm Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTModuleMethod.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTModuleMethod.mm Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTMultipartDataTask.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTMultipartDataTask.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTMultipartStreamReader.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTMultipartStreamReader.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTNullability.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTParserUtils.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTParserUtils.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTPerformanceLogger.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTPerformanceLogger.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRedBoxSetEnabled.h Make RedBox TurboModule-compatible 2019-11-04 16:07:23 -08:00
RCTRedBoxSetEnabled.m Make RedBox TurboModule-compatible 2019-11-04 16:07:23 -08:00
RCTReloadCommand.h Fix Reload stats 2019-11-18 16:17:09 -08:00
RCTReloadCommand.m Fix Reload stats 2019-11-18 16:17:09 -08:00
RCTRootContentView.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRootContentView.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRootView.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRootView.m Remove unneeded NSNotification center removeObserver 2019-11-04 10:19:30 -08:00
RCTRootViewDelegate.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRootViewInternal.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTVRemoteHandler.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTVRemoteHandler.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTouchEvent.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTouchEvent.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTouchHandler.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTTouchHandler.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTURLRequestDelegate.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTURLRequestHandler.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUtils.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUtils.m Allow extensions to set their own presentedViewController 2019-11-22 00:47:22 -08:00
RCTUtilsUIOverride.h Allow extensions to set their own presentedViewController 2019-11-22 00:47:22 -08:00
RCTUtilsUIOverride.m Allow extensions to set their own presentedViewController 2019-11-22 00:47:22 -08:00
RCTVersion.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTVersion.m Lazily create RCTVersion dict 2019-07-12 16:51:28 -07:00
RCTWeakProxy.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTWeakProxy.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00