Skip to content

Cordova plugin for interacting with the Berbix Verify API.

License

Notifications You must be signed in to change notification settings

berbix/berbix-cordova-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berbix Cordova Plugin

Installation

Install prerequisites

cordova platform add ios
cordova platform add android
cordova plugin add cordova-plugin-add-swift-support

Configuration

In your config.xml, add the following configuration to the <platform name="ios"> tag.

<preference name="deployment-target" value="11.0.0" />

In your config.xml, add the following configuration to the top level.

<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
    <string>To take photos of your identity documents for verification purposes.</string>
</edit-config>

Plugin installation

Ensure that your Cordova project can build before installing the Berbix plugin.

cordova build

Finally, install the Cordova plugin.

cordova plugin add berbix-cordova-plugin

Usage

berbix.verify(
  function() {
    // Verification has completed successfully
  },
  function(err) {
    // Verification did not complete successfully
  },
  {
    client_token: "your client token here"
  }
);

About

Cordova plugin for interacting with the Berbix Verify API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published