Caas SDK
Getting started
1. Add caas_sdk_beta to your dependencies
$ npm install caas_sdk_beta --save
2. Link Native Dependencies
a. Install Dependencies
npm install react-native-svg
npm install react-native-svg-transformer
npm install hypersnapsdk_reactnative
iOS :
a. Run npx pod-install
in root directory of your react native project to install the dependencies required for caas_sdk_beta
npm package
b. In info.plist
file, add Privacy - Camera Usage Description
c. If you are using objective c
for iOS part of the react-native project, please follow the following steps:
Note: If you are using swift
for the same, then please ignore the following
1. Right click on {rn_project_name}/iOS/ directory
2. Select 'New File'
3. Select a 'Swift File'
4. Confirm "Create Bridging Header" and build
Android :
No need to do anything else here. Cheers :partying_face:
Usage
import {CaasSdk} from 'caas_sdk_beta';
<CaasSdk.KycDetails init={init} onSuccess={() => {}} />;