react-native/React/Modules
Douglas Lowder a63fd378a4 Link both iOS and tvOS libraries with react-native link (fix #13783)
Summary:
Fix issues with the react-native CLI when linking iOS and tvOS libraries to a project created with `react-native init`. (#13783)

Verified the changes against test project at https://github.com/dlowder-salesforce/react-native-link-test.  Both `react-native link react-native-svg` and `react-native unlink react-native-svg` work correctly on this project.  Added new unit test for the new file added to `local-cli/link/ios`.

[CLI] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets.
[IOS] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets.
Closes https://github.com/facebook/react-native/pull/17231

Differential Revision: D6837567

Pulled By: hramos

fbshipit-source-id: 234d3d3966ae1b89cd16a37c95d303553f7ba5f5
2018-01-30 16:28:59 -08:00
..
RCTAccessibilityManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAccessibilityManager.m The New <Text> on iOS 2018-01-24 00:03:01 -08:00
RCTAlertManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAlertManager.m Add one more parameter(keyboardType) to AlertIOS.promot(). 2017-01-19 14:43:37 -08:00
RCTAppState.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAppState.m Access AppState constants on main thread 2017-09-13 18:15:39 -07:00
RCTAsyncLocalStorage.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAsyncLocalStorage.m always pass key parameter to RCTReadFile 2017-09-28 09:38:44 -07:00
RCTClipboard.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTClipboard.m remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
RCTDevSettings.h Add inspector attach to RN Dev Menu (iOS) 2017-12-05 06:31:15 -08:00
RCTDevSettings.mm improve detection of inspectable JS contexts 2017-12-18 13:32:36 -08:00
RCTDeviceInfo.h Introduce `DeviceInfo` as a new native module 2017-03-17 17:01:57 -07:00
RCTDeviceInfo.m Migrate DeviceInfoModule from RN Module to Native Function. 2018-01-29 11:18:42 -08:00
RCTEventEmitter.h Fix - argument type in RCTEventEmitter 2017-12-13 08:30:39 -08:00
RCTEventEmitter.m Fix a crash when keyboard is visible and bridge reload happens 2017-12-14 17:51:59 -08:00
RCTExceptionsManager.h Cleanup initialization of native modules in FBReactModule 2017-05-26 04:17:19 -07:00
RCTExceptionsManager.m Cleanup initialization of native modules in FBReactModule 2017-05-26 04:17:19 -07:00
RCTI18nManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTI18nManager.m Rename I18nManager Left/Right swap methods 2017-10-24 20:45:59 -07:00
RCTI18nUtil.h Rename I18nManager Left/Right swap methods 2017-10-24 20:45:59 -07:00
RCTI18nUtil.m Rename I18nManager Left/Right swap methods 2017-10-24 20:45:59 -07:00
RCTJSCSamplingProfiler.h Rename JSCSamplingProfiler to RCTJSCSamplingProfiler 2017-04-18 13:22:01 -07:00
RCTJSCSamplingProfiler.m Rename JSCSamplingProfiler to RCTJSCSamplingProfiler 2017-04-18 13:22:01 -07:00
RCTKeyboardObserver.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTKeyboardObserver.m Fix a crash when keyboard is visible and bridge reload happens 2017-12-14 17:51:59 -08:00
RCTLayoutAnimation.h RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTLayoutAnimation.m Fix format warnings for clang 5.0 2017-09-25 10:30:53 -07:00
RCTLayoutAnimationGroup.h RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTLayoutAnimationGroup.m RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager 2017-07-03 16:15:50 -07:00
RCTRedBox.h Redo error handling on iOS 2017-10-05 13:31:55 -07:00
RCTRedBox.m Add extra data view to RN RedBox 2017-12-14 10:50:24 -08:00
RCTRedBoxExtraDataViewController.h Add extra data view to RN RedBox 2017-12-14 10:50:24 -08:00
RCTRedBoxExtraDataViewController.m Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
RCTSourceCode.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTSourceCode.m remove embeddedBundleURL 2017-12-12 13:11:14 -08:00
RCTStatusBarManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTStatusBarManager.m Replacing all instances of [UIApplication sharedApplication] wi… 2017-04-01 03:34:41 -07:00
RCTTVNavigationEventEmitter.h Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
RCTTVNavigationEventEmitter.m Implement requiresMainQueueSetup in RCTTVNavigationEventEmitter 2017-11-22 00:39:33 -08:00
RCTTiming.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTiming.m Update native references to JSTimers 2017-06-22 09:52:33 -07:00
RCTUIManager.h Demolishing of background color propagation infra 2017-12-19 09:11:49 -08:00
RCTUIManager.m The New <Text> on iOS 2018-01-24 00:03:01 -08:00
RCTUIManagerObserverCoordinator.h -[RCTUIManagerObserver uiManagerDidPerformMounting] 2017-12-11 17:10:48 -08:00
RCTUIManagerObserverCoordinator.mm -[RCTUIManagerObserver uiManagerDidPerformMounting] 2017-12-11 17:10:48 -08:00
RCTUIManagerUtils.h RCTAllocatedRootViewTag was moved to RCTUIManagerUtils 2017-11-07 16:16:56 -08:00
RCTUIManagerUtils.m RCTAllocatedRootViewTag was moved to RCTUIManagerUtils 2017-11-07 16:16:56 -08:00