Collection - Usage Examples
Mobile SDK v2.0.0 and above launches with a session token minted by your backend — see SDK Session Tokens. The product to verify is chosen when your backend mints the session (productCode).
VeriFind address verification in Collection mode
Mint a session on your backend with "productCode": "verifind", pass the sdkSessionToken to your app, then launch. Optionally provide details about the applicant and address data. If not provided, the user will be prompted to enter the values in a form.
val qoreIDParams = QoreIDParams()
.sessionToken(sessionToken) // from your backend (POST /v1/sessions)
.inputData(inputData)
qoreIDButton
.params(qoreIDParams)
.registerForResult(activityResultLauncher)QoreIDParams qoreIDParams = new QoreIDParams.Builder()
.sessionToken(sessionToken) // from your backend (POST /v1/sessions)
.inputData(
applicantData,
addressData
)
qoreIdButton
.params(qoreIDParams)
.registerForResult(activityResultLauncher)
See Verifind Permissions to include in your Manifest if you intend to use Verifind.
Launch a QoreID service verification in Collection mode
Mint a session on your backend with the product code of the service you want to verify, then launch the SDK with the resulting token. Optionally provide details about the identity data and applicant data. If not provided, the user will be prompted to enter the values in a form.
val qoreIDParams = QoreIDParams()
.sessionToken(sessionToken) // token minted with the desired productCode
.inputData(inputData)
qoreIdButton
.params(qoreIDParams)
.registerForResult(activityResultLauncher)
See the Product Codes section for more info about product codes you can use when minting a session