react-native-jiny
v1.0.9
Published
## Getting started
Downloads
2
Readme
react-native-jiny
Getting started
$ npm install react-native-jiny --save
Mostly automatic installation
$ react-native link react-native-jiny
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java
- Add
import com.jiny.reactnative.JinyReactNativePackage;
to the imports at the top of the file - Add
new JinyReactNativePackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-jiny' project(':react-native-jiny').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-jiny/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':react-native-jiny')
Usage
import RNJinyReactNative from 'react-native-jiny';
// TODO: What to do with the module?
RNJinyReactNative;