Communicating from an Android application to React Native
Now that we have covered how to render our React Native application inside an Android app in the Embedding a React Native application inside an Android application recipe, we need to take that to the next level. Our React Native application should be more than a dummy UI. It should be able to react to actions going on in its parent application.
In this recipe we will accomplish sending data from our Android application to our embedded React Native app. The React Native application can accept data when it is first instantiated, and then at runtime. We will be covering how to accomplish both methods. This recipe will use
EditText in the Android app and set up one-way binding to the React Native ...