Native Module: react-native-hello
Getting started to write React Native bridge module for Android.
How to Run the Example
cd Examplenpm installreact-native run-android
How to Use the Module
-
Create a new React Native project:
react-native init NewProject -
Add the local module to dependencies in package.json:
"dependencies":, -
Link dependencies:
react-native link -
Use the module in index.android.js:
;const onButtonPress = {MyModule;};