React Native, Eventemitter, Navigation, Turbo Module, Bridge.
override fun removeListeners(count: Double) = Unit; 7. We define a new class named EventManager. You can copy this code as it is. //EventManager.kt open class EventManager { fun sendEvent(reactContext: ReactApplicationContext?, eventName: String, params: WritableMap?) {