Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csantosm/cordova-plugin-veriff
Cordova plugin exposing the VeriffSDK- Smart and scalable identity verification
https://github.com/csantosm/cordova-plugin-veriff
android cordova cordova-android cordova-ios cordova-plugin cordova-plugin-veriff identification identity identity-verification ionic ios veriff verification
Last synced: about 1 month ago
JSON representation
Cordova plugin exposing the VeriffSDK- Smart and scalable identity verification
- Host: GitHub
- URL: https://github.com/csantosm/cordova-plugin-veriff
- Owner: CSantosM
- License: apache-2.0
- Created: 2020-02-20T11:39:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T12:50:54.000Z (about 2 years ago)
- Last Synced: 2024-10-11T13:54:17.994Z (about 1 month ago)
- Topics: android, cordova, cordova-android, cordova-ios, cordova-plugin, cordova-plugin-veriff, identification, identity, identity-verification, ionic, ios, veriff, verification
- Language: JavaScript
- Homepage:
- Size: 308 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cordova-plugin-veriff
[![npm version](https://img.shields.io/npm/v/cordova-plugin-veriff)](https://www.npmjs.com/package/cordova-plugin-veriff)
Cordova plugin exposing the [Veriff SDK](https://www.veriff.com/) - Smart and scalable identity verification
## Requeriments
- Android 5.1 or newer
- iOS version 11.0 or newer## Installation
Within your Cordova project:
```bash
$ cordova plugin add cordova-plugin-veriff
```## Usage
The plugin exposes the VERIFF JavaScript namespace which cointains a Veriff end-to-end verification service.
To use this plugin:
In your ionic app:
1. Declare a global var
```javascript
declare var VERIFF;
```2. Create a [session verification](https://developers.veriff.com/#/sessions) with your Veriff API KEY.
2. Start the verification process:
We will need the verification sessionUrl to start the Veriff process
```javascript
const sessionURL = session.verification.url;
const configuration = {
themeColor: '#0F3C32'
};VERIFF.start(sessionURL, configuration).then((result: { message: string, status: string }) => {
// The promise returns the VeriffSDK verification result
console.log("Result: ", result);
}).catch(err => console.error(err));
```## Building
Within root plugin path:
```bash
$ npm run build
```## Bugs
- [Bug Tracker](https://github.com/CSantosM/cordova-plugin-veriff/issues)
## Changelog
See [CHANGELOG.md](CHANGELOG.md)
## Author
[Carlos Santos Morales](https://www.linkedin.com/in/csantosm/)