Skip to main content

stonly_flutter_plugin 1.0.3 copy "stonly_flutter_plugin: ^1.0.3" to clipboard
stonly_flutter_plugin: ^1.0.3 copied to clipboard

Stonly implementation for Flutter

1.0.3 #

  • Fix (iOS): the plugin builds in apps that link pods statically (Podfile without use_frameworks!); the generated Swift header was imported only in its framework form.

  • Fix (Android): the Flutter bottom inset is applied to every page trigger, including triggers created after it was reported, and is reset when the activity or engine detaches.

  • Native SDK bump: iOS Stonly >= 1.0.38, Android stonly-android-sdk v1.0.29

1.0.2 #

  • Fix (release builds): structure class names come from runtimeType; diagnostics strings report <optimized out> in release, so element triggers created in debug did not match in release.

  • Fix (iOS): a pairing link opened before setWidgetId (cold start) is kept and handled once the widget id is set.

  • Fix (Android): pairing links are taken from the launch intent and from onNewIntent (warm start) without host MainActivity code; the current structure is re-sent right after pairing so the wizard can pick elements without navigating first.

  • Fix (Android): plugin calls run on one ordered background executor instead of a busy-wait thread.

  • Fix (Android): structure frames are shifted by the FlutterView's position in the window and re-sent when it moves, so element triggers follow content pushed down by a top banner with coverContent = false.

  • Fix (Android): the FlutterView no longer pads for a status bar it was pushed below (top banner with coverContent = false), which left a gap under the banner.

  • Fix (iOS): element triggers no longer disappear in landscape right. Converted structure frames keep integer width/height (a float-error size made the SDK reject the whole structure), and the structure is re-converted when the interface orientation changes without a Flutter layout change (landscape left ↔ right).

  • Fix: pill triggers stay above a Flutter bottom navigation bar (BottomNavigationBar, NavigationBar, BottomAppBar, CupertinoTabBar). Android: applied to the SDK pill views; iOS: needs an iOS SDK with Widget.bottomContentInset, no-op before.

  • Native SDK bump: iOS Stonly >= 1.0.37, Android stonly-android-sdk v1.0.28

  • Add track, setWidgetLanguage, setDebugEnabled, setMonitoringEnabled, setSegmentAnonymousId, sendData, clearSentData, closeWidget, setStonlyEnabled (parity with the native SDKs, STON-12661)

  • Fix compilation on Flutter 3.35 (Tristate is only available from Flutter 3.38)

  • Fix: routes are sent to native without the leading "/" so screen-bound mobile triggers match on Android again.

  • Fix (iOS): structure frames are converted from window coordinates to the screen's fixed (portrait) coordinate space before updateStructure, so element triggers stay on their elements in landscape and in iPad multitasking windows (STON-22135).

1.0.1 #

  • Add StonlyDatacenter enum (eu, us) and datacenter parameter to setWidgetId for EU/US server region selection (defaults to eu)
  • Add setSentryEnabled(bool) to opt out of Sentry in the native SDK
  • Native SDK bump: iOS Stonly >= 1.0.30, Android stonly-android-sdk v1.0.23

1.0.0 #

  • First stable release
  • Production-ready version
  • Stable iOS and Android implementation

0.9.9 #

  • Major hotfixes on IOS
  • Multiple crash fix
  • Code refactor

0.9.8 #

  • Multiple Hotfixes
  • Fix for a crash happening on wizard (Bitmap height > 0)

0.9.7 #

  • Multiple Hotfixes
  • Fix for Streaming not updating
  • Use of build.context to retreive Widget Tree instead of Rendering binding

0.9.6 #

  • Multiple Hotfixes
  • 18365 - Selector Improvements
  • 18364 - Navigation and specific page triggers

0.9.3 #

  • Beta version 0.9.3 - Improvements on iOS

0.9.2 #

  • Beta version 0.9.2 - Improvements on Android

0.9.0 #

  • Beta version 0.9.0-BETA1ANDROID