react-native-overlay-lane4
v1.0.1
Published
lane4 library
Downloads
8
Readme
react-native-overlay-lane4
Getting started
$ npm install react-native-overlay-lane4 --save
Mostly automatic installation
$ react-native link react-native-overlay-lane4
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import split.overlay.RNReactNativeSplitOverlayPackage;
to the imports at the top of the file - Add
new RNReactNativeSplitOverlayPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-overlay-lane4' project(':react-native-overlay-lane4').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-overlay-lane4/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-overlay-lane4')
Usage
import RNReactNativeSplitOverlay from 'react-native-overlay-lane4';
// TODO: What to do with the module?
RNReactNativeSplitOverlay;