react-native-macos/Libraries/Settings
Ramanpreet Nara 74fd6fb1da Codemod: Migrate from bridge.eventDispatcher to RCTModuleRegistry
Summary:
All NativeModules that use the bridge to require the eventDispatcher are now instead using the RCTModuleRegistry I introduced in D25412847 (0ed81b28d3).

## What does this codemod do?
For all ObjC files that contain `synthesize bridge = _bridge`, migrate calls that access the React Native bridge from `self`, and use it to load the event dispatcher.

**Thoughts on Codemod Safety:** If we can access the bridge from self, then that means that if we synthesize the module registry, we can access the module registry from self. Therefore, this codemod is safe.

Changelog: [Internal]

Reviewed By: PeteTheHeat

Differential Revision: D25449795

fbshipit-source-id: 2f7235d14659e73d673ae08763dc2cccdde55a19
2020-12-11 10:42:28 -08:00
..
NativeSettingsManager.js TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
RCTSettingsManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTSettingsManager.mm Codemod: Migrate from bridge.eventDispatcher to RCTModuleRegistry 2020-12-11 10:42:28 -08:00
RCTSettingsPlugins.h Run depslint on fb_plugin_apple_library rules 2019-10-26 13:47:15 -07:00
RCTSettingsPlugins.mm Make RCTSettingsManager TurboModule-compatible 2019-10-01 11:15:08 -07:00
React-RCTSettings.podspec remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
Settings.android.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Settings.ios.js EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00