okyc_flutter 0.1.2
okyc_flutter: ^0.1.2 copied to clipboard
OKYC identity verification for Flutter: the hosted KYC/KYB flow in a secure, full-screen WebView with native permissions, file picking and results.
Changelog #
All notable changes to this SDK. The format follows Keep a Changelog and versions follow Semantic Versioning. Guides: https://docs.okyc.stream
[Unreleased] #
0.1.2 - 2026-09-28 #
Changed #
- The SDK's own screens (app bar, loading bar, load-error screen, exit dialog) follow
themeinstead of your app's Material theme, in the flow's neutral colours, so they match the redesigned flow; the WebView background uses the same surface colour to avoid a flash before the page draws.
0.1.1 - 2026-09-27 #
Security #
- Bridge messages are accepted only while the WebView shows the session's own origin; DigiLocker or
allowedHostspages can no longer report a result. The camera is granted only to that origin too. - Links inside frames and plain-http links never open the system browser; only https links on the top-level page do.
- Android: WebView file access is off, and camera photos taken for the flow are deleted when it ends.
- The example app no longer contains a local-development helper; it takes a session URL from your backend.
0.1.0 - 2026-09-27 #
Added #
- First release:
Okyc.start/OkycVerification, bridge protocol v1, navigation allowlist, Android camera and file chooser, screenshot blocking, cleanup on finish. - Results with
OkycFailed.sessionIdandOkycFailureCodeconstants for every failure code in the contract, includingnetwork_error(connection failures) andflow_error(the flow reported a fatal error). - The flow URL carries
?locale=and?theme=before the#t=fragment; bridge messages up to 10240 bytes. okycContractInfodescriptor.