React Native, Eventemitter, Navigation, Turbo Module, Bridge.
(void)startObserving { hasListeners = YES; } - (void)stopObserving { hasListeners = NO; } - (NSArray<NSString *> *)supportedEvents{ return @[@"onRouteChange"]; } - (void)sendNavigationEventWithName:(NSString * _Nonnull)name payload:(NSDictionary<NSString *,id> * _Nonnull)payload { if (hasListeners)