When writing native iOS modules for responsive-native, you can sign up for a notification RCTJavaScriptDidLoadNotification
. This allows for some additional custom configuration after the JS package has been loaded into the environment.
As far as I can see, there is nothing equivalent when writing Android modules (unless it has a different name). There initialize
, which you can override from ReactContextBaseJavaModule
, but this seems to be called before the JS package has been downloaded.
Is there an Android equivalent for notification / event RCTJavaScriptDidLoadNotification
?
source
share