v1.7.0
New features
-
Fallback consent UI
If
isProcessingStoringAllowedinMicroblinkPlatformConsentis set tofalse, the SDK will display a built-in consent screen to the user.- Users can accept or reject consent directly in the SDK.
- If consent is rejected, the session is immediately terminated.
-
Configurable proxy endpoints
You can now override individual proxy endpoint paths via
MicroblinkPlatformProxySettingsinstead of relying on fixed URLs.
This allows greater flexibility when integrating with custom proxy implementations.
Breaking changes
-
MicroblinkPlatformServiceSettingsstructure updatedThe
urlparameter has been removed and replaced withproxySettings.-
Previously, you provided the full API transaction endpoint directly via
url, for example:
https://www.myproxy.com/api/v1/transaction -
Now, you must provide proxy configuration via
MicroblinkPlatformProxySettings, where:* `url` represents your proxy base domain + API suffix, **without** the final endpoint path, for example:https://www.myproxy.com/api/v1
* The SDK constructs the full endpoint URLs internally based on the performed action.
-
-
New
MicroblinkPlatformProxySettingsmodel introducedProxy-related configuration is now encapsulated in a dedicated class:
startTransactionPath(default:/transaction)cancelWorkflowPath(default:/initialize/{workflowId}/cancel)workflowInfoPath(default:/initialize/{workflowId}/info)additionalRequestHeaders
The
{workflowId}placeholder is required for cancel and workflow info paths and is validated at runtime. -
MicroblinkPlatformConsentnow requiresgivenOnwhen consent is granted- The new
givenOnfield represents the timestamp (milliseconds since Unix epoch, UTC) when consent was given. givenOnmust be provided whenisProcessingStoringAllowedistrue.- If
isProcessingStoringAllowedisfalse,givenOnmay be omitted.
- The new
-
Verification cancellation callback updated
The result listener callback has been expanded to provide more context about the cancellation.
- Before:
onVerificationCanceled() - Now:
onVerificationCanceled(cancelState: MicroblinkPlatformCancelState)
The new
MicroblinkPlatformCancelStateincludes:-
optional
transactionIdof the canceled transaction -
cancelReason, which can be:* `UserCanceled` – the user closed or navigated away from the verification flow * `ConsentDenied` – the user rejected the consent
- Before: