You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@
4
4
5
5
The project contains a sample application that uses Microblink's [BlinkID SDK](https://github.com/BlinkID/blinkid-android) to scan an ID card. The app uses [Ver-ID SDK](https://github.com/AppliedRecognition/Ver-ID-UI-Android) to detect a face on the captured ID card and compare it to a live selfie taken with the Android device's camera.
6
6
7
+
## Before you build the app
8
+
9
+
1. Create a new project in [Google Firebase console](https://console.firebase.google.com) and add an Android app with package name `com.appliedrec.credentials.app`.
10
+
1. Download the **google-services.json** file generated by Firebase and add it to the project's **app** folder.
11
+
7
12
## Adding Ver-ID to your Android Studio project
8
13
9
14
1.[Request an API secret](https://dev.ver-id.com/admin/register) for your app.
@@ -27,6 +32,44 @@ The project contains a sample application that uses Microblink's [BlinkID SDK](h
27
32
android:name="com.appliedrec.verid.apiSecret"
28
33
android:value="[your API secret]" />
29
34
~~~
35
+
36
+
37
+
1. [Register your app](https://dev.ver-id.com/licensing/). You will need your app's package name.
38
+
2. Registering your app will generate an evaluation licence for your app. The licence is valid for 30 days. If you need a production licence please [contact Applied Recognition](mailto:sales@appliedrec.com).
39
+
2. When you finish the registration you'll receive a file called **Ver-ID identity.p12** and a password. Copy the password to a secure location.
40
+
3. Copy the **Ver-ID identity.p12** into your app's assets folder. A common location is **your\_app_module/src/main/assets**.
41
+
8. Ver-ID will need the password you received at registration.
42
+
- You can either specify the password when you create an instance of `VerIDFactory`:
43
+
44
+
~~~java
45
+
VerIDFactory veridFactory = new VerIDFactory(this, "your password goes here");
46
+
~~~
47
+
- Or you can add the password in your app's **AndroidManifest.xml**:
48
+
49
+
~~~xml
50
+
<manifest>
51
+
<application>
52
+
<meta-data
53
+
android:name="com.appliedrec.verid.password"
54
+
android:value="your password goes here" />
55
+
</application>
56
+
</manifest>
57
+
~~~
58
+
59
+
1. Add the Applied Recognition repository and Ver-ID dependencies to your app module's **gradle.build** file:
0 commit comments