Changelog

Flutter

Release history for the Stay22 Flutter SDK.

1.6.0 — October 1, 2026

Added

  • Support can inspect recent notification decisions, iOS scheduling, and Android posting history in device logs when testing your app, without adding logging code to your integration.

Changed

  • Both platforms now use the published native SDK 1.6.0.
  • The Flutter API does not expose the native Stay22Error listener; inspect platform logs for SDK errors and use Stay22.diagnostics.run() for current integration checks.

Fixed

  • On Android, unexpected native SDK failures return safe results instead of crashing the host app, and an unreadable stored consent setting is treated as disabled.

1.4.0 — September 28, 2026

Added

  • Declare the consent-required key in the app's native configuration to keep the SDK disabled until your app passes its current consent choice to Stay22.setEnabled.
  • Built-in notifications use French text on devices set to French. Text supplied by your app is unchanged.

Fixed

  • Disabling the SDK now cancels pending notifications, including one being prepared at the same time. The Android consent choice is saved even before SDK initialization.
  • Clearing travel context now prevents a pending Android notification from appearing.

Changed

  • Both platforms now use the published native SDK 1.4.0.

1.3.0 — September 24, 2026

Changed

  • The package now supports Android 7.0 (API 24). It previously required Android 8.0 (API 26).
  • Both platforms now use the published native SDK 1.3.0.

Fixed

  • On iOS, the SDK now clears its stored travel context once a notification has been shown, matching Android. Setting the same destination and dates again for a later trip could previously be ignored.
  • On Android, tapping a notification after the app was killed now delivers the click event when the SDK starts again, matching shown and blocked events.

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.yaml to 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 a PlatformException with code not_initialized instead of reporting success while doing nothing. Both platforms behave identically. Settings you are meant to apply before initialize, including the setEnabled consent gate, are unaffected.
  • Cancelling the last Stay22.events subscription 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

On this page