O'Reilly logo

React Native Cookbook by Crysfel Villa, Stan Bershadskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Communicating from React Native to an Android application container

As we discussed in the Communicating from an Android application to React Native recipe, it is extremely beneficial for our embedded application to be aware of what's going on around it. We should also make an effort that our Android parent application can be informed about what goes on inside the React Native application. The application should not only be able to perform business logic, but it should be able to update its UI to reflect changes in the embedded app.

This recipe shows us how to leverage native modules to update the native UI created inside the Android application. We will have a text field in our React Native app that updates a text field that is rendered in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required