user2357731 user2357731 - 3 months ago 32
Android Question

react-native reload js programmatically on android native

Is tere a way to reload the javascript programmatically on android as in the menu?

React-native android menu

I would like to do it directly in Java Native

Answer

So i found the solution by checking in the code directly.

In the class who extends from ReactActivity call this :

getReactNativeHost().getReactInstanceManager()
.getDevSupportManager().handleReloadJS();
Comments