m_login_sdk 1.0.0 m_login_sdk: ^1.0.0 copied to clipboard
Flutter-native SDK to simply access the M-Login identity- and user-data system.
[1.0.0] - (26th April 2024) #
- Breaking changes:
- Removed parameter payeeId from functions openGrantSepaMandatePage and openPaymentMethodsOverviewPage
- Removed parameter 'idVerificationRedirectUri' from MLogin constructor, function 'openDriverLicenseVerification' uses parameter 'redirectUri' as all other functions.
- Added parameter 'overrideRedirectUri' to functions where applicable, to override general redirect uri.
- Added new function 'openPhotoUpload'
Login button update: #
The Login button received a design overhaul. It now has a modern look and more configuration options.
Breaking changes
- The
MLoginButtonThemed
andMLoginButtonWhite
have been removed. Now there is only oneMLoginButton
and the styling and other features can be controlled by passing anMLoginButtonData
object. You should useMLoginButtonData(style: MLoginButtonStyle.blue)
in light mode andMLoginButtonData(style: MLoginButtonStyle.white)
in dark mode. - The text of the button can not be configured anymore. It is always "Sign in with M-Login". The language (German or English) can be controlled by passing the app locale.
- Padding cannot be configured anymore. Simply wrap the button in a
Padding
widget. isEnabled
has moved from the button itself toMLoginButtonData
.- A
semanticsLabel
cannot be passed anymore, the semantics are always "Sign in with M-Login".
New features
- There are new configuration features for the shape and size of the button. For details, see the "Button" section in the readme.
[0.8.0] - (27th March 2023) #
- Introduced option to launch a customer initiated transaction (CIT) web flow
[0.7.0] - (10th June 2022) #
- Introduced optional 'prefilledUsername' parameter as hint for the user to login
[0.6.0] - (17th May 2022) #
- Fixed Compile issues for Flutter 3.0.0
- Updated Kotlin and Gradle versions
[0.5.2] - (12th April 2022) #
- Wrapper MLoginButtonThemed for both buttons, to decide which one to use in which theme
- Fixed MLoginButtonWhite so that it has the same structure as MLoginButton
[0.5.1] - (11th April 2022) #
- Shortened Toast message (Android 12 only supports max 2 lines)
- Fixed MLogin Button Image loading issue
[0.5.0] - (21st March 2022) #
- Updated to new URIs for testing environments.
NOTE Previous versions of the SDK are deprecated with this change. While production builds will
not be affected, test builds against i
or k
environments will stop working at some point in the
future!
[0.4.0] - (25nd February 2022) #
- Added optional "ephemeral" parameter to specify whether ephemeral sessions (previous standard!)
should be used or not. NOTE: Default behaviour was changed to
ephemeral = false
! - Fixed issue where Login attempts would appear as "canceled" on Firefox
- Added Toast warning message if no browser is installed, added error code to inform about missing browser
[0.3.0] - (28th January 2022) #
- Removed dependency on on
flutter_web_auth
- Fixed issue with task handling on Android: Now, the M-Login flow runs in the same task. No more browser pollution in the task switcher, no more issues when logging in twice
- Fixed issue on Android where the task would fail when there is more than one app including the M-Login-SDK on the same phone
- Simplified integration on Android: Fewer additions to the Manifest required
[0.2.1] - (25th January 2022) #
- Bugfix for MLogin Button -> made padding parameter functional
[0.2.0] - (18th January 2022) #
- Added
openDriverLicenseVerification
call toMLogin
to jump directly to the driver license verification flow in the M-Login portal - Added optional
idVerificationRedirectUri
configuration parameter toMLogin
to supportopenDriverLicenseVerification
[0.1.3] - (17th December 2021) #
- Improved accessibility of offered M-Login buttons
[0.1.2] - (22nd November 2021) #
- Removed extension-based structuring of
MLogin
class to allow for better mockability
[0.1.1] - (22nd November 2021) #
- No changed functionality. Minor adjustments to make pub.dev happy and hand out more points
[0.1.0] - (22nd November 2021) #
- Initial release: flutter-native access to the M-Login systems