0.0.4 • Published 4 years ago
rn-zalo-sdk v0.0.4
react-native-zalo-sdk
Getting started
$ npm install react-native-zalo-sdk --save
Mostly automatic installation
$ react-native link react-native-zalo-sdk
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-zalo-sdk
and addZaloSdk.xcodeproj
- In XCode, in the project navigator, select your project. Add
libZaloSdk.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java
- Add
import ktgeek.zalo.ZaloSdkPackage;
to the imports at the top of the file - Add
new ZaloSdkPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-zalo-sdk' project(':react-native-zalo-sdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zalo-sdk/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-zalo-sdk')
Usage
import ZaloSdk from 'react-native-zalo-sdk';
// TODO: What to do with the module?
ZaloSdk;
0.0.4
4 years ago
0.0.3
5 years ago
0.0.3-wip12
5 years ago
0.0.3-wip11
5 years ago
0.0.3-wip10
5 years ago
0.0.3-wip9
5 years ago
0.0.3-wip8
5 years ago
0.0.3-wip7
5 years ago
0.0.3-wip6
5 years ago
0.0.3-wip5
5 years ago
0.0.3-wip4
5 years ago
0.0.3-wip
5 years ago
0.0.3-wip2
5 years ago
0.0.3-wip3
5 years ago
0.0.2
5 years ago
0.0.1-wip.6
5 years ago
0.0.1-wip.5
5 years ago
0.0.1-wip.4
5 years ago
0.0.1-wip.3
5 years ago
0.0.1-wip.2
5 years ago
0.0.1-wip.1
5 years ago
0.0.1
5 years ago