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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking changes
The MicroblinkPlatformServiceSettings parameter has been updated:
Previously, for url, you provided the full API transaction endpoint for your proxy, for example: https://www.myproxy.com/api/v1/transaction.
Now, url accepts your proxy's base domain + API suffix, without the final URL path. For example: https://www.myproxy.com/api/v1.
You also need to update your proxy. If you're using our proxy, upgrade to the latest available version.
MicroblinkPlatformConsent now requiresgivenOn. This value (a Date) represents when the consent is given.
In MicroblinkPlatformSDKDelegate, the function microblinkPlatformSDKDidClose is expanded with cancelState. This type (MicroblinkPlatformCancelState) has two values:
optional transactionId
cancelReason enum which returns userCanceled or consentDenied
New features
Added a consent screen which is shown if isProcessingStoringAllowed in MicroblinkPlatformConsent is false. This means that, if you haven't collected consent from your users and provided it to us, we will collect it ourselves.
In MicroblinkPlatformServiceSettings, added new string properties for overriding proxy endpoints: