0.0.4 • Published 4 years ago

rn-zalo-sdk v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-zalo-sdk and add ZaloSdk.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libZaloSdk.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. 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 the getPackages() method
  1. 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')
  2. 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