Skip to content

complycube/complycube-cordova-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComplyCube Example App

This repository provides a pre-built UI that uses the ComplyCube SDK. It guides you through the ComplyCube identity verification process, which includes collecting client ID documents, proof of address documents, and biometric selfies.

ℹ️ Please get in touch with your Account Manager or support to get access to our Mobile SDK.

To run the app

Update your .npmrc file

  1. Modify the .npmrc file in your home directory by adding the settings below:

ℹ️ For users of Unix-based systems, the file is located at ~/.npmrc. For Windows users, this file can be found at C:\Users\{username}\.npmrc.

@complycube:registry=https://complycuberepo.jfrog.io/artifactory/api/npm/cc-cordova-release-npm-local/
//complycuberepo.jfrog.io/artifactory/api/npm/cc-cordova-release-npm-local/:_password=<PASSWORD>
//complycuberepo.jfrog.io/artifactory/api/npm/cc-cordova-release-npm-local/:username=<EMAIL>
//complycuberepo.jfrog.io/artifactory/api/npm/cc-cordova-release-npm-local/:email=<EMAIL>
//complycuberepo.jfrog.io/artifactory/api/npm/cc-cordova-release-npm-local/:always-auth=true

Install CocoaPods

  1. Before using the ComplyCube SDK, install the CocoaPods Artifactory plugin by running the following command in your terminal:

    gem install cocoapods-art
  2. To add the library, copy your repository credentials into a .netrc file to your home directory and setup the repository:

    pod repo-art add cc-cocoapods-release-local "https://complycuberepo.jfrog.io/artifactory/api/pods/cc-cocoapods-release-local"

Add Artifactory Credentials for Gradle

  1. In the android/gradle.properties file, replace ARTIFACTORY_USER and ARTIFACTORY_PASSWORD with your JFrog Username and the encrypted JFrog Password.

Run the apps

  1. Create a Client ID.

  2. Generate an SDK token.

  3. In the www/js/index.js file, replace CLIENT_ID and CLIENT_TOKEN with the generated values from the previous steps.

  4. Run the Android app:

    cordova run android
  5. Run the iOS app:

    cordova run ios

Integrating our SDK

For detailed instructions on integrating our SDK, please refer to our integration guide.

For an overview of our core platform and its multiple features, please refer to our user guide or browse the API reference for fine-grained documentation of all our services.