The example for React Native Integration with Android Native Code. It can start an Java activity from JavaScript and load a JavaScript View from Java activity
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
gradle/wrapper
.flowconfig
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
index.android.js
native-view.png
package.json
react-native-view.png
settings.gradle

README.md

TestRNIntegrationNative

The example is for React Native Integration with Android Native Code. It can start an Java activity from JavaScript and load a JavaScript View from Java activity

For more information about this, you can read this blog react-native与android-native代码的集成开发

run the app

  1. npm install
  2. npm start
  3. run the app in Android Studio

Demo

native activity react-native view