flourish_flutter_sdk 2.9.14
flourish_flutter_sdk: ^2.9.14 copied to clipboard
Flourish SDK for partners integrate.
Changelog #
All notable changes to this plugin will be documented in this file.
2.9.14 04/02/2026 #
2.9.13 02/02/2026 #
Added #
onErrorcallback onFlourishconstructor for handling web app errors (network, business logic, onboarding, maintenance)onAuthErrorcallback onFlourishconstructor for handling authentication/token errorsonWebViewLoadErrorcallback onFlourishconstructor for handling native WebView load errorsonErrorEventlistener method for subscribing toErrorEventvia streamsErrorEvent.fromJsonfactory for parsing ERROR events from the web app- Structured logging with
dart:developerlog()across the SDK (replacesprint()) - Doc comments on all public event listener methods
ERROR_BACK_BUTTON_PRESSEDandAUTHENTICATION_FAILUREevent constants
Fixed #
- 403 WebView error now performs early return, preventing duplicate error handling
mountedcheck added tohandleAuthErrorto prevent setState after dispose- ERROR events from web app now create
ErrorEventinstead ofGenericEvent
Changed #
- Migrated all
print()calls todart:developerlog()for production-safe logging - WebView JavaScript message handling refactored into dedicated
_handleJavaScriptMessagemethod