finvu_authentication_sdk 1.0.2
finvu_authentication_sdk: ^1.0.2 copied to clipboard
Silent Network Authentication for Finvu Account Aggregator flows. Verifies a mobile number over the carrier network, with no OTP, on Android and iOS.
1.0.2 #
Breaking: Removed getDeviceBindingState, enrollDeviceBinding,
signDeviceBindingChallenge and getCapabilities, along with
DeviceBindingConfig, DeviceBindingEnrollConfig and
DeviceBindingSignConfig.
- Why: the native SDK versions this plugin pins (Android
finvuauthenticationsdk:1.0.3, iOSfinvu-auth-sdk-iostagv1.0.5) only ever exposedinitAuth/startAuth— no device binding API exists on either at those versions. The plugin's Kotlin/Swift code calledinitSNA/startSNA/device-binding methods that don't exist on the pinned dependency, which failed to compile in any consuming app. Fixed by having the plugin call the native SDK's realinitAuth/startAuthmethods (the Dart-facinginitSNA/startSNA/initAuth/startAuthnames are unaffected) and removing the device-binding surface this SDK version cannot actually deliver.
1.0.1 #
Breaking: initSNA, startSNA, getDeviceBindingState, enrollDeviceBinding,
signDeviceBindingChallenge and getCapabilities now resolve to a raw
Map<String, dynamic> decoded straight from the native Android/iOS SDK's own
JSON response, instead of a typed FinvuAuthResult / DeviceBindingResult /
FinvuCapabilities object.
- Removed
FinvuAuthResult,FinvuAuthSuccess,FinvuAuthFailure,FinvuStatus,DeviceBindingResult,DeviceBindingSuccess,DeviceBindingStateandFinvuCapabilities— the plugin no longer maps responses onto a fixed field list. - Why: that field list (
statusCode,authType,token,requestId,userId,timestamp) was never actually returned by either native SDK. The fields the SDKs do return (mcc,mnc,httpStatusCode, iOS'sstatusCode) were falling into a catch-allextramap — and doing so inconsistently between Android and iOS, since the two platform plugins' "known field" lists didn't agree on where the nativestatusstring belonged. Returning the native JSON unmodified (matching the React Native wrapper, which has always done a raw passthrough) removes that class of bug rather than patching one more instance of it. - On failure the map carries a single
errorkey ({"status", "errorCode", "errorMessage"}), matching the RN wrapper's own error shape. - Native SDK dependency versions:
io.github.cookiejar-technologies:finvuauthenticationsdk:1.0.3(Android),finvu-auth-sdk-iostagv1.0.5(iOS). These are pinned deliberately and no longer track the React Native wrapper's versions.
1.0.0 #
Initial release of finvu_authentication_sdk.
- Silent Network Authentication (SNA) for Finvu Account Aggregator flows on Android and iOS.
- Native integration via
FinvuAuthSdk.nativeWrapper(). - WebView integration via
FinvuAuthSdk.webViewBridge(), bridging thefinvu_authentication_bridgeJavaScript channel to the native SDK.
Supersedes the unmaintained
finvu_auth_sdkandfinvu_auth_sdk_flutterpackages, which are no longer updated.