aerosync_flutter_sdk 2.0.1
aerosync_flutter_sdk: ^2.0.1 copied to clipboard
This Flutter SDK provides an interface to load Aerosync-UI in Flutter apps.
2.0.1 #
Fixed #
- Corrected installation instructions in README to reference
^2.0.1 - Updated minimum Flutter constraint in
pubspec.yamlfrom>=1.17.0to>=3.44.0to match the actual SDK requirements
2.0.0 #
Breaking Changes #
aeroPassUserUuidis now a required parameter onAeroSyncWidget- Removed
devandstagingenvironments — only'sandbox'and'production'are supported AeroSyncWidgetnow automatically dismisses whenonSuccessoronClosefires — do not callNavigator.popinside these callbacksAeroSyncEmbeddedViewhas been removed — it will be re-introduced in a future release
Added #
opacitystyle property — pass'opacity': 0.0–1.0in thestylemap to control the transparency of the widget container (works on iOS, Android, and Flutter Web)- Flutter Web support —
AeroSyncWidgetnow works on Flutter Web with two launch modes via thewidgetLaunchTypeparameter:'systemBrowser'(default) — opens the widget in a centered popup window; OAuth bank flows run inside the same popup window throughout the full redirect chain'host'— renders the widget inline as an<iframe>embed directly in the Flutter Web page
AeroSyncNavigatorObserver— add toMaterialApp(navigatorObservers: [...])to automatically handle iOS OAuth return routingwidgetLaunchTypeparameter onAeroSyncWidget(default:'systemBrowser'; web-only, ignored on mobile)aeroPassUserUuidparameter onAeroSyncWidget- MFA support via
handleMFA,jobId, andconnectionIdparameters
Changed #
- Upgraded
flutter_inappwebviewto6.2.0-beta.3— adds Swift Package Manager support for iOS and macOS
Fixed #
- Fixed OAuth external browser not opening on Android (and iOS when using the same code path). The AeroSync widget signals an OAuth bank selection by firing an
onEventwithtype: "widgetPageLoaded"andpageTitle: "launchExternalWindow", with the OAuth URL inpayload.onLoadApi. The SDK now intercepts this event and callslaunchUrlwithLaunchMode.externalApplicationto open the OAuth flow in the device's browser — previously this event was passed through to the app'sonEventcallback with no action taken.
Migration Guide #
- Add
aeroPassUserUuid: 'your-user-uuid'to allAeroSyncWidgetusages - Remove any
Navigator.popcalls fromonSuccessandonClosecallbacks — the SDK handles dismissal automatically - Replace
'dev'/'staging'environment values with'sandbox'
Release 1.3.4 #
- Fixed
onSuccess,onClose, andonEventcallbacks never firing, Flutter bridge readiness (isFlutterInAppWebViewReady) was not being established reliably after page navigation - Fixed
onLoadcallback never firing due to incorrect host comparison
Release 1.3.3 #
- Updated README.md documentation
- Removed
devandstagingenvironments — onlysandboxandproductionare supported
Release 1.3.2 #
- Fixed
onClosecallback not firing after widget updates - Fixed
onEventandonErrorcallbacks not delivering data correctly - Widget now dismisses reliably on both success and close flows
Release 1.3.1 #
- Fixed Flutter web event handling and return values
- Made
styleparameter optional - now defaults to standard dimensions (375x688) - Improved documentation for
styleparameter with detailed property descriptions, default values, and ARGB format examples
Release 1.3.0 #
- Added support for Flutter Web. The SDK now automatically uses a secure
iframewhen running in a web browser. - The same
AerosyncSDKPagewidget now works seamlessly across iOS, Android, and Web. - Made the
deeplinkparameter optional to improve the developer experience for web-only applications. - Added various stability fixes for navigation and event handling to support cross-platform compatibility.
Release 1.2.1 #
- Updated README.md for 1.2.1 version
Release 1.2.0 #
- Added
themeparameter to customize widget appearance - Support for light and dark themes ('light', 'dark')
- Default theme is 'light' if not specified
- Updated documentation with theme usage examples
- Fixed MFA validation logic to only require jobId and userId when handleMFA is true (not just non-null)
Release 1.1.0 #
- Added new environment Sandbox for testing
- New Aerosync URL
Release 1.0.6 #
- Removed unused dependencies.
- Overall improvements.
Release 1.0.5 #
- Minor bug fixes.
- Response JSON changes. Check README for more information.
Release 1.0.4 #
- Minor bug fixes.
- Added parameters to handle MFA only invocation.
Release 1.0.3 #
- Changes for a better experience with testing environment.
Release 1.0.2 #
- OnClose Event bug fix.
Release 1.0.1 #
- Minor bug fixes.
Release 1.0.0 #
- Major bug fixes.
- Added support for
styleparameter to customize widget. - Added support for OAuth popup windows authentication.
- Added an example.
- Added changes for environment variables: "dev", "staging", "production".
- Added deeplink parameter.
- Changed library dependencies to allow for more range of Flutter version compatibility.
Release 1.0.0-dev-6 #
- Minor bug fixes.
- Added support for extra parameters
Release 1.0.0-dev-5 #
- Minor bug fixes.
Release 1.0.0-dev-4 #
- Support an earlier version of flutter_inappwebview plugin.
- Minor bug fixes.
Release 1.0.0-dev-3 #
- Enforce deeplink parameter.
- Changed library dependencies to allow for more range of Flutter version compatibility.
- Minor bug fixes.
Release 1.0.0-dev-2 #
- Added support for
styleparameter to customize widget. - Added support for OAuth popup windows authentication.
- Added an example.
- Added changes for environment variables: "dev", "staging", "production"
- Added optional deeplink parameter