React Native, Eventemitter, Navigation, Turbo Module, Bridge.
removeListeners(count: number): void; } export default TurboModuleRegistry.getEnforcing<Spec>('ReactNavPage'); 2- Modify the header file for the iOS side as follows. #import <React/RCTEventEmitter.h> @class ReactNavPageImpl; //swift class @interface ReactNavPage : RCTEventEmitter //module interface