2.1.4 • Published 8 months ago
vpm-react-native-sdk-android v2.1.4
vpm-react-native-sdk-android
Getting started
$ npm install vpm-react-native-sdk-android --save
Mostly automatic installation
$ react-native link vpm-react-native-sdk-android
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.VpmRNNativeAndroidSdkLibraryPackage;
to the imports at the top of the file - Add
new VpmRNNativeAndroidSdkLibraryPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':vpm-react-native-sdk-android' project(':vpm-react-native-sdk-android').projectDir = new File(rootProject.projectDir, '../node_modules/vpm-react-native-sdk-android/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':vpm-react-native-sdk-android')
Usage
import VpmRNNativeAndroidSdkModule from 'vpm-react-native-sdk-android';
// TODO: What to do with the module?
VpmRNNativeAndroidSdkModule;
2.1.2
8 months ago
2.1.4
8 months ago
2.1.3
8 months ago
2.1.1
3 years ago
2.1.0
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.1.2
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
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