An example project in which I describe a simple architecture for communication between React Native Native Modules (usually called bridges) and the Native UIViewController/Activity/Fragment that host the React Native component. Generally speaking the architecture shown in this project is useful to let the Native Modules communicate with your existing native codebase. This is a project for my blog posts:
- React Native: a simple architecture for Native Modules communication with your native code on Android
- React Native: a simple architecture for Native Modules communication with your UIViewController on iOS
This are some quotes from the posts:
...Sometimes when you integrated React Native in an existing app, you will want to be able let your Native Modules bridges communicate with your activities and fragment, especially the ones that contain the React Native View . In this post I will show you an architecture to put in place this communication on Android, that will be compatible with all the features of React Native (for example it will work als with the live reload functionality)...
Click on the links above to read the posts.