Changelog
Flutter
Release history for the Stay22 Flutter SDK.
1.2.0 — September 8, 2026
Changed
- The package now ships from its own repository,
stay22-flutter-sdk, as a git dependency
pinned to a release tag. Update your
pubspec.yamlto the form shown in the README. - Both platforms now use the published native SDK 1.2.0. Earlier versions of this package could bundle an iOS build that differed from the released iOS SDK of the same version number, so the two platforms did not always behave the same.
- The bundled iOS privacy manifest now declares Device ID. Re-check the App Privacy answers on your App Store listing: you inherit this manifest into your own disclosure.
Fixed
- Calls that require an initialized SDK —
setTravelContext,clearTravelContext,scheduleNotification,hasNotificationPermission,requestNotificationPermission— now throw aPlatformExceptionwith codenot_initializedinstead of reporting success while doing nothing. Both platforms behave identically. Settings you are meant to apply beforeinitialize, including thesetEnabledconsent gate, are unaffected. - Cancelling the last
Stay22.eventssubscription now releases the underlying native listener instead of leaving it attached for the life of the app. - Offers now reach users who run a system-wide content or ad blocker on both platforms.
Documentation
- The notification-forwarding example and README now present
[.banner, .sound, .list], so a foreground notification stays in Notification Centre. Copy the updated snippet if your app owns the iOS notification delegate.
Full release notes and downloads: Flutter releases