Skip to content

13.0.0

Latest
Compare
Choose a tag to compare
@hokstuff hokstuff released this 25 Mar 19:12
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.