Skip to content

Releases: Stay22/stay22-flutter-sdk

Release list

1.2.0

Choose a tag to compare

@thierryskoda thierryskoda released this 08 Sep 17:00

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.