m_login_sdk 1.0.0 copy "m_login_sdk: ^1.0.0" to clipboard
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 and MLoginButtonWhite have been removed. Now there is only one MLoginButton and the styling and other features can be controlled by passing an MLoginButtonData object. You should use MLoginButtonData(style: MLoginButtonStyle.blue) in light mode and MLoginButtonData(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 to MLoginButtonData.
  • 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 to MLogin to jump directly to the driver license verification flow in the M-Login portal
  • Added optional idVerificationRedirectUri configuration parameter to MLogin to support openDriverLicenseVerification

[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
3
likes
130
pub points
49%
popularity

Publisher

unverified uploader

Flutter-native SDK to simply access the M-Login identity- and user-data system.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

crypto, flutter, flutter_svg

More

Packages that depend on m_login_sdk