A demo app that showcases how to:
- Embed React Native into an existing app
- Implement a custom native component
- Invoke a native method from JavaScript
- Trigger a JavaScript method from native
git clone https://github.com/bevkoski/react-native-the-native-parts-android.git
cd react-native-the-native-parts-android
yarn
or npm install
yarn start
or npm start
- Start Android Studio
- Choose "Open an existing Android Studio project"
- Select the
/react-native-the-native-parts-android/android
folder
Once Android Studio loads, click the green "Run" button.
Check out this Medium article.