Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Latest commit

 

History

History
40 lines (23 loc) · 974 Bytes

File metadata and controls

40 lines (23 loc) · 974 Bytes

React Native: The Native Parts (Android Edition)

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

Screenshot

How to run it

Clone the repository

git clone https://github.com/bevkoski/react-native-the-native-parts-android.git

cd react-native-the-native-parts-android

Install dependencies

yarn or npm install

Start the React Native bundler

yarn start or npm start

Open the project in Android Studio

  1. Start Android Studio
  2. Choose "Open an existing Android Studio project"
  3. Select the /react-native-the-native-parts-android/android folder

Run the app

Once Android Studio loads, click the green "Run" button.

How it works

Check out this Medium article.