flutter_wya_verify_sdk 2.2.3
flutter_wya_verify_sdk: ^2.2.3 copied to clipboard
WYA Verify SDK for Flutter. Identity verification with document scanning, liveness detection, and face matching. Supports iOS 14+ and Android API 23+.
Changelog #
2.2.3 #
- Native SDKs: iOS
2.2.3(was 2.2.2), Android4.5.4(was 4.5.2). - Changed —
showSelfieIntroOnceis now Face MATCH only: the enroll capture becomes the reference image every future match compares against, so Face Enroll now ALWAYS shows a new quality-focused intro (good lighting, no hat/glasses/mask, neutral expression). The flag onFaceEnrollParamsis ignored (kept for API compatibility). - Fix (iOS):
showSelfieIntroOncehad no effect — the skip logic wasn't wired to the actual intro trigger, so the sheet appeared on every run. - Fix (iOS) — document camera never focused on non-Pro iPhones (11 through 16 non-Pro, 11/12 Pro): the back camera used a virtual multi-lens device at its default zoom, which selects the ultra-wide lens — fixed-focus on those models, so document photos were permanently blurry. The camera now starts on the wide-angle (1x) lens, which has autofocus on every iPhone; Pro models keep the automatic macro switch for close-up capture.
- Fix — small screens (iPhone SE 1st gen and similar): on the DNI and selfie capture screens (onboarding, face match and face enroll) the titles no longer overlap the guide frame/oval and the hint chip no longer overlaps the footer (both platforms); on iOS the labels also no longer drift below the frame under iOS 15. Dark-scene usability on iOS: lighter scrim on document steps, more visible guide frame, usable torch level (was 10% output), and low-light boost on older hardware.
- Fix (Android): losing the face between the far and near selfie captures left the flow stuck on the near step. It now soft-resets to the far phase (~400ms, no dialog). Also unblocks the tracking-discontinuity security reset and the near-error recovery, which silently no-op'd due to a state-machine guard.
2.2.2 #
-
Native SDKs: iOS
2.2.2(was 2.2.1), Android4.5.2(was 4.5.1). -
New —
showSelfieIntroOnce(2FA Selfie): opt-in flag onFaceMatchParamsandFaceEnrollParams. Whentrue, the instructional intro sheet is shown only the first time the selfie flow runs on the install; later step-up authorizations go straight to capture. Defaults tofalse(intro every run), so existing integrations are unchanged.await FlutterWyaVerifySdk.startFaceMatch( FaceMatchParams( publicKey: 'pk_live_xxx', operationId: opId, nonce: nonce, showSelfieIntroOnce: true, ), );
2.2.1 #
- Native SDKs: iOS
2.2.1(was 2.2.0), Android4.5.1(was 4.5.0). - Fix — ARG_AUTO document-type auto-detection: the on-device classifier is
no longer gated by the server operation config (which defaulted off). It now
runs whenever
idTypeisARG_AUTOand the on-device model is available — previously, operations created server-side fell back to the manual document-type selector. - License: the package is now proprietary (was Apache-2.0).
2.2.0 #
- Native SDKs: iOS
2.2.0(was 2.0.1), Android4.5.0(was 4.3.0). - Fix — Onboarding with a pre-created operation:
startOnboardingnow forwardsoperationId+nonceto the native SDK. Before they were dropped, so the SDK always created a new operation (which failed on projects that require a user identifier). - New —
getDeviceId(): returns the persistent device id the SDK sends with every operation, so the host app can correlate its own backend calls. - Face Match / Enroll: the response now carries the signed result
jwt(validate it via the WYA/verifyendpoint or JWKS), and the standalone selfie no longer shows the onboarding step counter. getSdkVersion()reports the real native version.
2.0.3 #
- Android SDK 4.3.0 (was 4.1.1):
- Lottie eliminado; animaciones del intro hero ahora renderizan con
Compose Canvas nativo +
rememberInfiniteTransition. NuevoMotionAccessibilityAdapterque respeta reduce-motion del sistema. - POM publication fix: el SDK 4.1.1 publicaba un POM incompleto
(faltaban material3 / ui / foundation / animation / ui-tooling-preview
por un walker que filtraba deps con
version == null). Consumers crasheaban conNoClassDefFoundError: ColorSchemeKtal primer launch. - Consumer ProGuard rules: el AAR ahora trae un
proguard.txtcon keep-rules para Retrofit / Gson / JNI / Activities entry points. Sin esto, consumers que minifican (default release con AGP 8+) crasheaban conIllegalArgumentException: Call return type must be parameterized as Call<Foo>al primer API call. - Play Integrity bump 1.4.0 → 1.6.0 (Nov 2025 release). API unchanged, fixes de fiabilidad del Standard request flow.
- Lottie eliminado; animaciones del intro hero ahora renderizan con
Compose Canvas nativo +
- iOS SDK unchanged (sigue en
2.0.1). - No Dart API changes — drop-in upgrade from
^2.0.1.
2.0.1 #
- iOS SDK 2.0.1 (was 2.0.0) — fixes a silent crash on integrator debug builds.
- Plugin podspec no longer sets
BUILD_LIBRARY_FOR_DISTRIBUTION = YES— this was forcing the consumer Swift compiler to emit dispatch-thunk calls into the WYA SDK XCFramework, which Swift omits forfinalmembers offinalclasses. - No Dart API changes — drop-in upgrade from
^2.0.0.
2.0.0 #
- Android SDK 4.1.1 (was 3.4.0)
- iOS SDK 2.0.0 (was 1.2.7)
- BREAKING: Android
minSdkVersionraised from 21 to 23 (Android 6.0). The native SDK 4.x dropped support for API 21-22. - BREAKING: iOS deployment target raised from 13 to 14. Apple App
Attest requires iOS 14+, and the iOS SDK 2.0.0 SwiftUI redesign uses
@StateObject(also iOS 14+). - BREAKING: requires Android Gradle Plugin 8.1+ in consumer apps (was 7.x). Apps must also use JDK 17 and Gradle 8.x.
- BREAKING: consumer iOS app must enable the App Attest capability
on Apple Developer portal and add the
com.apple.developer.devicecheck.appattest-environmententitlement (developmentfor Debug,productionfor TestFlight / App Store). - Plugin bumps Android
compileSdkto 36 (Android 16) andtargetSdkVersionto 36 for Google Play 2026 compliance. - Highlights of the Android SDK 4.1.1 bump:
- Edge-to-edge UI compatible with Android 16
- 16 KB page-size compliance (Google Play
targetSdk 35+) - CameraX 1.5.3 (Camera2 backend)
- Dart API unchanged — no code changes needed in your Flutter app.
See
README.md§ Migration notes for the native-side bumps.
1.1.0 #
- Android SDK 3.4.0
1.0.1 #
- iOS SDK 1.2.7
- Android SDK 3.3.7
1.0.0 #
- Initial release of flutter_wya_verify_sdk
- iOS SDK 1.2.3
- Android SDK 3.3.4