How to update state in React Native for Android

Viewed 519

In React Native for iOS, RCTRootView has a writable property appProperties which can be used to pass arguments from native code to react-native modules, described in this link: Communication iOS. When set, in react-native side, this.state will change and trigger an update.

But in Android, ReactRootView doesn't have a similar setter to modify the launchOption (which is passed in ReactRootView.startReactApplication(manager, moduleName, launchOptions))

So the question is: is there a solution to set react-native module's state for Android?

2 Answers
Related