Skip to content

ZenGo-X/react-native-zoom-sdk

 
 

Repository files navigation

react-native-zoom-sdk

iOS Dev Tutorial

  • Download the sdk version for iOS on the link https://dev.zoomlogin.com/zoomsdk/#/docs
  • Create a directory folder ~/Documents/ZoomSDK and paste the ZoomAuthentication.framework file
  • Check if the directory looks like this ~/Documents/ZoomSDK/ZoomAuthentication.framework

Getting started

$ npm install react-native-zoom-sdk --save

Mostly automatic installation

$ react-native link react-native-zoom-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-zoom-sdk and add RNReactNativeZoomSdk.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNReactNativeZoomSdk.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/[...]/MainActivity.java
  • Add import com.reactlibrary.RNReactNativeZoomSdkPackage; to the imports at the top of the file
  • Add new RNReactNativeZoomSdkPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-zoom-sdk'
    project(':react-native-zoom-sdk').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-zoom-sdk/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-zoom-sdk')
    

Usage

import ZoomAuth from  'react-native-zoom-sdk'

const appToken = 'your token'
const userId = 'user'
const encrypt = 'encrypt'
const secret = 'secr3t'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 37.2%
  • Java 34.1%
  • Objective-C 13.8%
  • JavaScript 9.2%
  • Python 4.1%
  • Ruby 1.6%