Releases: onewelcome/sdk-flutter
3.1.2
3.1.1
3.1.0
You can find the full changelog here and an overview containing the upgrade instructions here.
[Android] Wrapper SDK now uses the latest Android Native SDK 12.0.0
[iOS] Wrapper SDK now uses the latest iOS native SDK 12.3.4
[iOS & Android] Support for stateless registration feature
- Added
registerStatelessUser
method.
3.0.3
3.0.0
You can find the full changelog here and an overview containing the upgrade instructions here.
[iOS] Wrapper SDK now uses the latest OneWelcome iOS native SDK 12.2.2
- Events are now propagated using Streams and have been renamed to more accurately describe their purpose.
- Removed the following events
- eventOther
- openPinAuthenticator
- eventError
- startApplication now no longer requires a OneginiListener parameter.
- All BuildContext requirements from functions have been removed.
- Resource requests now allow absolute paths.
- Allow for Resource Requests to other resource servers than the one in the tokenserver config file, this is only possible if the server has a correct certificate.
- Updated several parameters and return types of functions.
- Functions are now fully typesafe and nullsafe due to the use of Pigeon internally.
- Updates several functions to no longer return a boolean status but instead resolve/reject.
- setPreferredAuthenticator
- deregisterBiometricAuthenticator
- logout
- authenticateDevice
- validatePinWithPolicy
- authenticateUserImplicitly
- deregisterUser
- submitSuccessAction and submitErrorAction for custom registration no longer require an identity provider id.
- getAppToWebSingleSignOn now returns the actual error code instead of a general error when failing.
- OneginiPinRegistrationCallback.acceptAuthenticationRequest No longer takes a map as a second argument.
- Renamed several resourceRequest functions and added a generic requestResource which takes a type as extra argument.
- Reworked error codes and added constants for all errors(wrapper and native) in lib/errors/error_codes.dart
- Reworked mobileAuthWithOtp.
- Reworked authentication
- Removed getRegisteredAuthenticators
- Removed getAllAuthenticators
- Removed registerAuthenticator
- Added deregisterBiometricAuthenticator
- Added registerBiometricAuthenticator
- Added getBiometricAuthenticator
- Added getPreferredAuthenticator
- Changed setPreferredAuthenticator
- Changed authenticateUser
- Allow sdk <4.0.0
2.0.1
2.0.0
2.0.0, March 2, 2023
You can find the full changelog here and an overview containing the upgrade instructions here.
Improvement
[Android] Wrapper SDK now uses the latest Android Native SDK 11.9.0
[iOS] Wrapper SDK now uses the latest iOS native SDK 12.1.0
[iOS & Android] The Error Structure has been reworked and extended. This rework introduces:
- More consistency between iOS and Android errors using our Flutter Plugin.
- More specific error codes to give more details on what the error caused.
- Consistent usage of the details property of PlatformExceptions containing an overview and potentially additional information regarding the error.
- Change of error codes
[iOS & Android] Full support for Registration with Custom IdP.
[iOS & Android] Renamed fetchUserProfiles to getUserProfiles to better reflect the functionality from the function.
[iOS & Android] Support for multiple registered users on one device.
[iOS & Android] Reworked deregisterUser function and updated the documentation.
[iOS & Android] Added getAccessToken getAuthenticatedUserProfile and getRedirectUrl methods.
Bug Fixes
[iOS] deregisterUser now successfully deregisters the profile based on the given Id instead of the first registered user on the device.
[iOS] authenticateUser will now properly return an error when an unregistered or unknown authenticatorId is given instead of starting pin authentication.
1.2.0
- Update the Android SDK version version to 11.8.1. See the release notes and upgrade notes for more information.
- [Breaking] Bump the compile- and target-SDK of the plugin to version 32 as a consequence of the new Android SDK version.