4.0.3
π New
-
AdaptyUI.createFlowViewandAdaptyUIFlowPlatformViewnow accept alocaleβ the localization the flow view is rendered with. Since 4.0.0 a flow is localized when its view is built, and there was no way to choose that localization from Dart.Without a
localethe view is rendered inen, falling back to the flow's default localization when the flow has noen. Asking for a localization the flow does not have falls back to the flow default as well, without an error. Strings missing from the chosen localization are filled in from the default one. -
AdaptyUIFlowViewnow reports thelocalethe view was actually built with, so you can tell which localization was applied.
π©Ή Fixed
- Custom gradient assets lost all of their colors when the
LinearGradienthad no explicitstopsβ the idiomaticLinearGradient(colors: [a, b])reached the native side with no colors at all. Affected both platforms.
β οΈ Deprecated
- The
localeargument ofgetFlowandgetFlowForDefaultAudiencehas had no effect on flows since 4.0.0. It is now deprecated and logs a warning instead of being dropped silently β pass the locale tocreateFlowVieworAdaptyUIFlowPlatformViewinstead.
Native dependencies in this release: iOS 4.0.2, Android 4.0.1.
Full Changelog: 4.0.2...4.0.3