@socure-inc/docv-react-native 3.1.3 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/android/build.gradle +1 -1
- package/package.json +1 -1
- package/socure-docv-react-native.podspec +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The Predictive Document Verification (DocV) SDK v3 for React Native is a React Native wrapper that allows you to use the DocV SDK for Android and iOS in your React Native application.
|
|
4
4
|
|
|
5
|
+
> Note: Document verification services will be disabled for older SDK versions soon. All SDK v3 integrations must be updated to version **3.1.0 or later** to meet compliance requirements.
|
|
6
|
+
|
|
5
7
|
## Minimum Requirements
|
|
6
8
|
|
|
7
9
|
**React Native**
|
|
@@ -215,8 +217,8 @@ The following table lists the available `launchSocureDocV` properties:
|
|
|
215
217
|
|
|
216
218
|
| Argument | Description |
|
|
217
219
|
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
218
|
-
| `socure_sdk_key` | The unique SDK key obtained from Admin Dashboard. For more information on SDK keys, see the [
|
|
219
|
-
| `flow` | An optional JSON string or null value that specifies a custom flow.
|
|
220
|
+
| `socure_sdk_key` | The unique SDK key obtained from Admin Dashboard. For more information on SDK keys, see the [SDK Keys](https://developer.socure.com/docs/admin-dashboard/developers/sdk-keys) article in DevHub.article. |
|
|
221
|
+
| `flow` | An optional JSON string or null value that specifies a custom flow. <br /><br /> `JSON.stringify({flow: {name: “FLOW_NAME”}, document_type: 'license'})` <br /><br />The `flow_name` value specifies the name of the customized Capture App UI flow (created in Admin Dashboard) that the DocV SDK should use for each transaction. If the value is incorrect or `null`, the DocV SDK will use flow set as **Default** in Admin Dashboard. <br /><br />The `document_type` value specifies a single acceptable document type for the transaction and skips the **Selected ID Type Screen** in the Capture App flow. Possible field values are `license` or `passport`. If the value is incorrect or `null`, the DocV SDK will use the document type defined for the flow in Admin Dashboard. | | |
|
|
220
222
|
| `onSuccess` | A callback function that notifies you when the flow completes successfully. | | |
|
|
221
223
|
| `onError` | A callback function that notifies you when the flow fails. | | |
|
|
222
224
|
|
package/android/build.gradle
CHANGED
|
@@ -134,7 +134,7 @@ dependencies {
|
|
|
134
134
|
//noinspection GradleDynamicVersion
|
|
135
135
|
implementation "com.facebook.react:react-native:+"
|
|
136
136
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
137
|
-
implementation "com.github.socure-inc:socure-docv:3.
|
|
137
|
+
implementation "com.github.socure-inc:socure-docv:3.2.0"
|
|
138
138
|
// From node_modules
|
|
139
139
|
}
|
|
140
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socure-inc/docv-react-native",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "The Predictive Document Verification (DocV) SDK React Native bridge allows you to use the DocV SDK v3 for Android and iOS in your React Native application.",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"types": "dist/index.d.ts",
|