Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veryfi/veryfi-lens-cordova-demo

Example codes about how to use Veryfi Lens SDKs
https://github.com/veryfi/veryfi-lens-cordova-demo

android cordova ios mobile sdk

Last synced: about 1 month ago
JSON representation

Example codes about how to use Veryfi Lens SDKs

Awesome Lists containing this project

README

        


[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
# Veryfi Lens
Veryfi Lens is code (a framework) with UI for your mobile app to give it document capture superpowers in minutes.

Let Veryfi handle the complexities of frame processing, asset preprocessing, edge routing, and machine vision challenges in document capture. We have been at this for a long time and understand the intricate nature of mobile capture. That’s why we built Lens. Veryfi Lens is built by developers for developers; making the whole process of integrating Lens into your app fast and easy with as few lines as possible.

Veryfi Lens is a Framework: a self-contained, reusable chunks of code and resources you can import into you app.

Lens is built in native code and optimized for fast performance, clean user experience and low memory usage.

You can read further about Lens in Veryfi's dedicated page: https://www.veryfi.com/lens/

You can watch our video:
[![Veryfi Lens](https://img.youtube.com/vi/TUV5SXpKN48/maxresdefault.jpg)](http://www.youtube.com/watch?v=TUV5SXpKN48 "Veryfi Lens Features")

## Table of content
1. [Configuration](#configuration)
2. [iOS Localization](#localization)
3. [Other platforms](#other_platforms)
4. [Get in contact with our team](#contact)

### Configuration
- Clone this repository
- Go to Lens: Maven (Android) section and generate your access credentials [here](https://hub.veryfi.com/api/settings/keys/#package-managers-container).
- Add your Maven credentials to your system environment. Replace [USERNAME] and [PASSWORD] with the credentials that were set up in the previous step.
```
export MAVEN_VERYFI_USERNAME=[USERNAME]
export MAVEN_VERYFI_PASSWORD=[PASSWORD]
```

- Clone this repository
- Go to Lens: Cordova (iOS + Android) section and generate your access credentials [here](https://hub.veryfi.com/api/settings/keys/#package-managers-container).
- Run `npm config set @veryfi:registry https://nexus.veryfi.com/repository/npm/`
- Run `npm config set _auth $(echo -n '[USERNAME]:[PASSWORD]' | openssl base64 -A) --registry=https://nexus.veryfi.com/repository/npm/`
- Run `cordova plugin add @veryfi/cordova-plugin-veryfi-lens`
- Replace [USERNAME] and [PASSWORD] with the credentials that were set up in the previous step.

- Replace credentials in `index.js` with yours
```
var vUrl = "XXXX"; // replace XXX with your assigned Endpoint URL
var vClientId = "XXXX"; // replace XXX with your assigned Client Id
var vUserName = "XXXX"; // replace XXX with your assigned Username
var vApiKey = "XXXX"; // replace XXX with your assigned API Key
```

- Add your desired platforms
```
cordova platform add ios
cordova platform add android
```
Min SDK Android 6.0 (API level 23)
Min iOS version 12

- Run the project using the IDE of each platform or the terminal

### Other platforms
We also support the following wrappers for native and hybrid frameworks:
- [Capacitor](https://hub.veryfi.com/lens/docs/capacitor/)
- [React Native](https://hub.veryfi.com/lens/docs/react-native/)
- [Flutter](https://hub.veryfi.com/lens/docs/flutter/)
- [Xamarin](https://hub.veryfi.com/lens/docs/xamarin/)
- [iOS](https://hub.veryfi.com/lens/docs/ios/)
- [Android](https://hub.veryfi.com/lens/docs/android/)

If you don't have access to our Hub, please contact our sales team, you can find the contact bellow.

### Get in contact with our sales team
Contact [email protected] to learn more about Veryfi's awesome products.