/React-Native-Native-Modules-Communication

An example project created for my blog post "React Native: a simple architecture for Native Modules communication with your UIViewController on iOS" and "React Native: a simple architecture for Native Modules communication with your Activities and Fragments on Android" :iphone::collision:

Primary LanguageJavaMIT LicenseMIT

React Native Native Modules Communication

GitHub license

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:

Description

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.