diff --git a/Libraries/EventEmitter/RCTEventEmitter.js b/Libraries/EventEmitter/RCTEventEmitter.js index 8001a7cf36a005..fd0ac72eaf9995 100644 --- a/Libraries/EventEmitter/RCTEventEmitter.js +++ b/Libraries/EventEmitter/RCTEventEmitter.js @@ -14,7 +14,11 @@ const BatchedBridge = require('../BatchedBridge/BatchedBridge'); const RCTEventEmitter = { register(eventEmitter: any) { - BatchedBridge.registerCallableModule('RCTEventEmitter', eventEmitter); + if (global.RN$Bridgeless) { + global.RN$registerCallableModule('RCTEventEmitter', () => eventEmitter); + } else { + BatchedBridge.registerCallableModule('RCTEventEmitter', eventEmitter); + } }, };