Skip to content

Releases: braze-inc/braze-flutter-sdk

14.0.3

18 Jul 17:08
Compare
Choose a tag to compare
Fixed
  • Fixes missing Braze symbol error in BrazeBannerViewFactory when using dynamically-linked frameworks.

14.0.2

16 Jun 16:09
Compare
Choose a tag to compare

Important

This release reverts the increase to the minimum Android SDK version of the Braze Android SDK from API 21 to API 25 introduced in 34.0.0. This allows the SDK to once again be compiled into apps supporting as early as API 21. However, we are not reintroducing formal support for < API 25. Read more here.

Fixed
  • Fixes a display issue introduced in 14.0.1 when changing a Banner dynamically.
  • The minSdk enforced by the Flutter Android layer is now downgraded from 25 to 21, matching the minSdk in the Android native layer.

14.0.1

05 Jun 22:12
Compare
Choose a tag to compare
Fixed
  • Fixes a crash on iOS when the app is force-closed while a Banner is visible on the screen.
    • Note: This fix may cause display issues when trying to change Banners dynamically. This will be addressed in a future patch.

14.0.0

21 May 19:48
Compare
Choose a tag to compare

⚠️ Important: This version has a known issue related to Banners. Upgrade to version 14.0.2 instead.

Breaking
Fixed
  • Fixes an issue on iOS where getUserId() would not return any value if the user was anonymous.
    • This API will now return null if the user is anonymous.
  • Fixes the iOS implementation of setDateOfBirth to correctly report dates using the Gregorian calendar instead of the user's device calendar.
    • Previously, the SDK would re-format the input date components with the device's calendar settings if they were non-Gregorian.
  • Fixes the in-app message data model to reflect the correct types under the following circumstances:
    • HTML in-app messages will now reflect their correct type html, instead of the default slideup type.
    • Full in-app messages will now reflect their correct type full, instead of incorrectly being marked as html_full. HTML full messages will still continue to work as expected.

13.0.0

25 Mar 19:12
Compare
Choose a tag to compare

⚠️ Important: This version has a known issue related to Banners. Upgrade to version 14.0.2 instead.

Breaking
Added
  • Adds support for the Braze Banner Cards product and APIs to utilize them.
    • BrazePlugin.requestBannersRefresh(List<String> placementIds) - to request a refresh of the banners associated with the provided placement IDs. This must be called at least once to set the list of banners to retrieve. On iOS only, failures will be logged if unsuccessful.
    • BrazePlugin.getBanner(String placementId) - to get a banner with the provided placement ID if available in cache, otherwise returns null.
    • BrazePlugin.subscribeToBanners(void Function(List<BrazeBanner>) onEvent) - to subscribe to the stream of banners and call [onEvent] when it receives the list of banners.
  • Adds the BrazeBannerView widget to display a Banner Card directly in Dart.
    • To use this feature, insert the widget BrazeBannerView(placementId:) into your Dart view hierarchy with the relevant placementId.
    • Reference our integration in our sample app.
  • Updates the native iOS bridge from Braze Swift SDK 11.6.1 to 11.9.0.

12.1.1

25 Feb 16:03
c7a2fd9
Compare
Choose a tag to compare
Added

12.1.0

04 Feb 19:34
Compare
Choose a tag to compare
Added

12.0.0

20 Nov 22:13
Compare
Choose a tag to compare
Breaking

11.1.0

26 Sep 19:18
Compare
Choose a tag to compare
Added

11.0.0

05 Sep 21:16
Compare
Choose a tag to compare
Breaking
Added
  • Adds support for 3 new Feature Flag property types:
    • featureFlag.getTimestampProperty(String key) for accessing Int Unix UTC millisecond timestamps as int?s.
    • featureFlag.getJSONProperty(String key) for accessing JSON objects as Map<String, dynamic>? types.
    • featureFlag.getImageProperty(String key) for accessing image URLs as String?s.
  • Adds the getUserId() method to get the ID of the current user. This method will return null if the current user is anonymous.
  • Adds the hideCurrentInAppMessage() method, which dismisses the currently displayed in-app message.
Fixed
  • Fixes an issue on Android where push notification stream subscriptions were not receiving events after clicking on a push notification when the app was in a terminated state.