diff --git a/README.md b/README.md index b3445b8..f025bdb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![iProov: Flexible authentication for identity assurance](images/banner.jpg) -# iProov Android Biometrics SDK v10.0.2 +# iProov Android Biometrics SDK v10.1.0 ## Contents of this Package @@ -60,7 +60,7 @@ Alternatively, in `settings.gradle` if you have opted to use `dependencyResoluti ```groovy dependencies { - implementation('com.iproov.sdk:iproov:10.0.2') + implementation('com.iproov.sdk:iproov:10.1.0') } ``` @@ -204,25 +204,25 @@ You can customize the iProov user experience by passing in an instance of `IProo The following values are found at the top level of `IProov.Options`: -| Option name | Description | Default | -|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------| -| `title` | The custom title displayed during a claim scan. | `""` (Empty string) | -| `titleTextColor` | The color of the text in the title. | `Color.WHITE` | -| `headerBackgroundColor` | The background color of the header bar. | `Transparent` | -| `filter` | The filter applied to the camera preview as either `LineDrawingFilter` or `NaturalFilter`. With `NaturalFilter` in LA, `surroundColor` will be opaque on the new rounded mask area. | `LineDrawingFilter()` | -| `surroundColor` | The color of the area outside the guideline oval. With Clear and Blur natural filters in LA, this colour will be fully opaque on the new rounded mask area. | `#66000000` | -| `font` | Optional custom font for the title and prompt as either `PathFont` or `ResourceFont`. | `null` | -| `logo` | Optional custom logo in the header as `BitmapIcon`, `DrawableIcon` or `ResourceIcon`. | `null` | -| `enableScreenshots` | Whether screenshots are enabled during the iProov scan. Disabled by default for security reasons. | `false` | -| `closeButton` | Customize the Close button. | `R.drawable.ic_arrow_back` in `Color.WHITE` | -| `promptTextColor` | The color of text in prompt box. | `Color.WHITE` | -| `promptBackgroundColor` | The color of the prompt box. | `#CC000000` | -| `promptRoundedCorners` | Whether the prompt has rounded corners. | `true` | -| `disableExteriorEffects` | Optionally disable blur and vignette outside the oval. | `false` | -| `certificates` | Optionally supply certificates used for pinning. If you are using a reverse proxy you may need to provide your own certificates. Certificate pinning is enabled by default. Certificate should be passed as a string (certificate`s subject public key info as SHA-256 hash).
See [below](#certificate-pinning) for more information | iProov Server Certificates | -| `timeoutSecs` | The WebSocket streaming timeout in seconds. To disable timeout, set to 0. | `10` | -| `orientation` | Set the orientation of the iProov activity. Possible values are (`PORTRAIT`, `REVERSE_PORTRAIT`, `LANDSCAPE` or `REVERSE_LANDSCAPE`.
**Note**: This option rotates the UI, not the camera. Supports USB cameras on `LANDSCAPE` displays, such as tablets and kiosks, where the camera is oriented normally. For Liveness Assurance, LANDSCAPE and REVERSE_LANDSCAPE is not allowed. | `PORTRAIT` | -| `camera` | Either use the in-built front-facing camera (`FRONT`) or USB `EXTERNAL` camera support for kiosks. | `FRONT` | +| Option name | Description | Default | +|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------| +| `title` | The custom title displayed during a claim scan. | `""` (Empty string) | +| `titleTextColor` | The color of the text in the title. | `Color.WHITE` | +| `headerBackgroundColor` | The background color of the header bar. | `Transparent` | +| `filter` | The filter applied to the camera preview as either `LineDrawingFilter` or `NaturalFilter`. With `NaturalFilter` in LA, `surroundColor` will be opaque on the new rounded mask area. | `LineDrawingFilter()` | +| `surroundColor` | The color of the area outside the guideline oval. With Clear and Blur natural filters in LA, this colour will be fully opaque on the new rounded mask area. | `#66000000` | +| `font` | Optional custom font for the title and prompt as either `PathFont` or `ResourceFont`. | `null` | +| `logo` | Optional custom logo in the header as `BitmapIcon`, `DrawableIcon` or `ResourceIcon`. | `null` | +| `enableScreenshots` | Whether screenshots are enabled during the iProov scan. Disabled by default for security reasons. | `false` | +| `closeButton` | Customize the Close button. | `R.drawable.ic_arrow_back` in `Color.WHITE` | +| `promptTextColor` | The color of text in prompt box. | `Color.WHITE` | +| `promptBackgroundColor` | The color of the prompt box. | `#CC000000` | +| `promptRoundedCorners` | Whether the prompt has rounded corners. | `true` | +| `disableExteriorEffects` | Optionally disable blur and vignette outside the oval. | `false` | +| `certificates` | Optionally supply certificates used for pinning. If you are using a reverse proxy you may need to provide your own certificates. Certificate pinning is enabled by default. Certificate should be passed as a string (certificate`s subject public key info as SHA-256 hash).
See [below](#certificate-pinning) for more information | iProov Server Certificates | +| `timeoutSecs` | The WebSocket streaming timeout in seconds. To disable timeout, set to 0. | `10` | +| `orientation` | Set the orientation of the iProov activity. Possible values are (`PORTRAIT`, `REVERSE_PORTRAIT`, `LANDSCAPE` or `REVERSE_LANDSCAPE`.
**Note**: This option rotates the UI, not the camera. Supports USB cameras on `LANDSCAPE` displays, such as tablets and kiosks, where the camera is oriented normally. For Liveness Assurance, LANDSCAPE and REVERSE_LANDSCAPE is not allowed. | `PORTRAIT` | +| `camera` | Either use the in-built front-facing camera (`FRONT`) or USB `EXTERNAL` camera support for kiosks. | `FRONT` | | #### Certificate Pinning @@ -270,6 +270,8 @@ The following values are found under `IProov.Options.genuinePresenceAssurance`. |---------------------------|----------------------------------------------------------|---------------| | `readyOvalStrokeColor` | Color for oval stroke when in a GPA "ready" state. | `#01AC41` | | `notReadyOvalStrokeColor` | Color for oval stroke when in the GPA "not ready" state. | `Color.WHITE` | +| `controlYPosition` | Whether to control y position of the face showing prompts. | `false` | + ### Liveness Assurance Options @@ -351,7 +353,7 @@ An **error** occurs when an iProov claim cannot be processed completely, in whic | `NetworkException` | An error occurred with communications to the server. Typically indicates a device connectivity issue, for example, the user's session has timed out or the internet service has been lost. | | `UnsupportedDeviceException` | The device is not supported, for example, does not have a front-facing camera. | | `InvalidOptionsException` | An error occurred when trying to apply the options you specified. | -| `ConsentRequiredException` | The user has not granted consent. | +| `ConsentRequiredException` | The user has not granted consent. For iProov internal use only. You can safely ignore. | ## Example Project diff --git a/example-app/app/build.gradle b/example-app/app/build.gradle index b0b41fe..f8369ed 100644 --- a/example-app/app/build.gradle +++ b/example-app/app/build.gradle @@ -3,7 +3,7 @@ plugins { id 'org.jetbrains.kotlin.android' } -ext.iproovSdkVersion = "10.0.2" +ext.iproovSdkVersion = "10.1.0" android { namespace "com.iproov.example" diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar new file mode 100644 index 0000000..6f2378b Binary files /dev/null and b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar differ diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.md5 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.md5 new file mode 100644 index 0000000..6d6cecc --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.md5 @@ -0,0 +1 @@ +3bfafbc1d1165cb10d2bc34cc2fd8850 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha1 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha1 new file mode 100644 index 0000000..ab0aef1 --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha1 @@ -0,0 +1 @@ +ad7c1f97df3a3a57b1bbb30ea185746e3ca7c625 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha256 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha256 new file mode 100644 index 0000000..43d0c37 --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha256 @@ -0,0 +1 @@ +221c8ba861621d31a1434d5c3aad97b869d32d947706a8ce541c0b25bf0d02b9 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha512 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha512 new file mode 100644 index 0000000..bb7977b --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.aar.sha512 @@ -0,0 +1 @@ +1d30a0b8b053ac0ec4c79445ecf1b21dfa8c77fa482195945a95aadcf861c5d9c11eb29370ad7c41047b813c9fdea043c8125e0f8da9d8e21731565dadd23658 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom new file mode 100644 index 0000000..79e9ae2 --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom @@ -0,0 +1,60 @@ + + + 4.0.0 + com.iproov.sdk + iproov + 10.1.0 + aar + + + org.jetbrains.kotlinx + kotlinx-coroutines-core + 1.5.1 + + + org.jetbrains.kotlinx + kotlinx-coroutines-android + 1.5.1 + + + com.tinder.statemachine + statemachine + 0.2.0 + + + androidx.lifecycle + lifecycle-runtime-ktx + 2.4.1 + + + androidx.appcompat + appcompat + 1.3.1 + + + androidx.exifinterface + exifinterface + 1.3.3 + + + com.squareup.okhttp3 + okhttp + 4.9.3 + + + com.google.protobuf + protobuf-javalite + 3.21.12 + + + androidx.databinding + viewbinding + 7.4.2 + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + 1.5.30 + + + diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.md5 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.md5 new file mode 100644 index 0000000..87cc56e --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.md5 @@ -0,0 +1 @@ +010c5dc2e154d359ce68ab6d2e6d2416 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha1 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha1 new file mode 100644 index 0000000..4166c0f --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha1 @@ -0,0 +1 @@ +00317cb405529994e61d452843497d4adf65c895 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha256 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha256 new file mode 100644 index 0000000..acfacfd --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha256 @@ -0,0 +1 @@ +b5439e70ad1de2c1198e1761370dc08049a6541efeee601dfdf59a9a21021a77 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha512 b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha512 new file mode 100644 index 0000000..993690e --- /dev/null +++ b/maven/com/iproov/sdk/iproov/10.1.0/iproov-10.1.0.pom.sha512 @@ -0,0 +1 @@ +bf361b53fffdbe3f282cb7e71e1d01560dfcd94f4c4c44610a0d8134d564171b4b431986d120f5fda390ebc13d2ff3d2b6642ad70d02af80c1dd95ba412ade57 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/maven-metadata.xml b/maven/com/iproov/sdk/iproov/maven-metadata.xml index 6600d8f..f146108 100644 --- a/maven/com/iproov/sdk/iproov/maven-metadata.xml +++ b/maven/com/iproov/sdk/iproov/maven-metadata.xml @@ -3,8 +3,8 @@ com.iproov.sdk iproov - 10.0.2 - 10.0.2 + 10.1.0 + 10.1.0 4.4.0 5.0.0-beta1 @@ -64,7 +64,8 @@ 10.0.0 10.0.1 10.0.2 + 10.1.0 - 20241001123709 + 20241009142619 diff --git a/maven/com/iproov/sdk/iproov/maven-metadata.xml.md5 b/maven/com/iproov/sdk/iproov/maven-metadata.xml.md5 index 6674774..3538237 100644 --- a/maven/com/iproov/sdk/iproov/maven-metadata.xml.md5 +++ b/maven/com/iproov/sdk/iproov/maven-metadata.xml.md5 @@ -1 +1 @@ -05d3355589961f30c3d1580d2f0009e7 \ No newline at end of file +95978f7db27ac567ce870681c92e3ef1 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha1 b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha1 index c205cbf..bfb969b 100644 --- a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha1 +++ b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha1 @@ -1 +1 @@ -b3df3e49e9ccab1b13f79f92efc2cb54f50c40e8 \ No newline at end of file +ce2589005cc3865f61e3e23d63225db221d1e023 \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha256 b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha256 index caedfaf..38abed7 100644 --- a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha256 +++ b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha256 @@ -1 +1 @@ -49d8c0cc78ee38e7ebcc13609efc4f4d2145c745dfa9b20a1882441fe266eb49 \ No newline at end of file +cc85217c733dbec9c471fcba60bc5248271c88e83fd580861eafe1c42b3ac44e \ No newline at end of file diff --git a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha512 b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha512 index d348df2..f78f2d6 100644 --- a/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha512 +++ b/maven/com/iproov/sdk/iproov/maven-metadata.xml.sha512 @@ -1 +1 @@ -6da887ec0871cbde2ff1a5d8d41250951187ce5531c06ac5528cadbbfd276e35b45bbd0d8c9af881f2adfa50c4ec39c20c9041e37be8c33a27463e0eebf95b20 \ No newline at end of file +774f56e140b312ca57f562b4e6c1d73020f7c0512347b2151968f5daca04e610e8630202e6856632664e84244c4d77b70870c8d96f7b30e662494aa75e44111a \ No newline at end of file diff --git a/resources/strings.xml b/resources/strings.xml index 14b5f70..95c60cc 100644 --- a/resources/strings.xml +++ b/resources/strings.xml @@ -43,6 +43,8 @@ Get ready… Hold still Scan completed + Move down + Move up Go somewhere shadier Too close Move closer