1.0.20 • Published 3 years ago
react-native-split-overlay v1.0.20
react-native-react-native-split-overlay
Getting started
$ npm install react-native-react-native-split-overlay --save
Mostly automatic installation
$ react-native link react-native-react-native-split-overlay
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-react-native-split-overlay' project(':react-native-react-native-split-overlay').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-react-native-split-overlay/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-react-native-split-overlay')
Usage
import RNReactNativeSplitOverlay from 'react-native-react-native-split-overlay';
// TODO: What to do with the module?
RNReactNativeSplitOverlay;
1.0.20
3 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.12
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago