Device Event Manager Module
Native module that handles device hardware events like hardware back presses.
Functions
Return true if you intend to override some other native module that was registered e.g. as part of a different package (such as the core one). Trying to override without returning true from this method is considered an error and will throw an exception during initialization. By default all modules return false.
Sends an event to the JS instance that the hardware back has been pressed.
Sends an event to the JS instance that a new intent was received.
This method is called after ReactApplicationContext has been created.
Allow NativeModule to clean up. Called before React Native instance is destroyed.
Invokes the default back handler for the host of this catalyst instance. This should be invoked if JS does not want to handle the back press itself.
Allow NativeModule to clean up. Called before {CatalystInstance#onHostDestroy}