Skip to content

Releases: braze-inc/braze-flutter-sdk

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.

10.1.0

03 May 15:19
Compare
Choose a tag to compare
Added
  • Updated the Android Gradle plugin from 8.0.2 to 8.1.1.
  • Updated the native Android bridge from Braze Android SDK 30.3.0 to 30.4.0.
  • Adds the BrazeInAppMessage.isTestSend property, which indicates whether an in-app message was triggered as part of a test send.

10.0.0

30 Apr 21:29
Compare
Choose a tag to compare
Breaking
Added
  • Adds the getDeviceId method to replace getInstallTrackingId, which is now deprecated.
Fixed
  • Fixes an issue where StrictMode DiskReadViolation was triggered on Android.

9.0.0

09 Apr 20:53
Compare
Choose a tag to compare
Breaking
Added
  • Push notification payloads are now accessible in the Dart layer by calling subscribeToPushNotificationEvents(void Function(BrazePushEvent) onEvent). This allows you to run custom Dart code after a push is received or when a push is clicked.
    • On iOS, this callback can only be triggered for push click events.
    • Reference our Flutter Push Notification documentation with details on how to utilize this feature.
    • This feature is compatible with the replayCallbacksConfigKey to replay the push event callback for any notifications that were received prior to calling subscribeToPushNotificationEvents.
  • Adds support for Braze tracking properties.
    • Adds the updateTrackingPropertyAllowList(allowList) method to dynamically configure Braze tracking properties.
    • For further usage details, refer to the Swift privacy manifest documentation.
  • Deprecates setGoogleAdvertisingId(id, adTrackingEnabled) in favor of setAdTrackingEnabled(adTrackingEnabled, id).

8.2.0

01 Mar 19:38
Compare
Choose a tag to compare
Added
Fixed
  • Removes the automatic assignment of BrazeDelegate in the iOS native layer, allowing for custom implementations to be assigned to the braze instance.

8.1.0

06 Dec 16:14
Compare
Choose a tag to compare
Added

8.0.0

22 Nov 18:43
Compare
Choose a tag to compare
Breaking
  • Updates the native Android bridge from Braze Android SDK 27.0.1 to 29.0.1.
  • Updates the native iOS bridge from Braze Swift SDK 6.6.1 to 7.2.0.
  • Modifies the behavior for Feature Flags methods.
    • BrazePlugin.getFeatureFlagByID(String id) will now return null if the feature flag does not exist.
    • BrazePlugin.subscribeToFeatureFlags(void Function(List<BrazeFeatureFlag>) onEvent)) will only trigger in the following situations:
      • When a refresh request completes with success or failure.
      • Upon initial subscription if there was previously cached data from the current session.
  • The minimum supported Android SDK version is 21.
Fixed
  • Moved the compileSDKVersion for Android down to 33 to match Flutter's versioning.

7.0.0

04 Oct 17:02
Compare
Choose a tag to compare
Breaking
Added
  • Updates the native iOS bridge from Braze Swift SDK 6.3.0 to 6.6.1.
  • Adds BrazePlugin.logFeatureFlagImpression(String id) to log a Feature Flag impression.
  • Adds support for custom user attributes to be nested objects.
  • Adds BrazeUser.setCustomUserAttributeArrayOfStrings() to set arrays of strings as a custom attribute.
  • Adds BrazePlugin.getCachedContentCards() to get the most recent content cards from the cache.
  • Adds BrazePlugin.registerPushToken() to send a push token to Braze's servers.
    • Deprecates BrazePlugin.registerAndroidPushToken() in favor of this new method.
  • Adds an example integration of iOS push notifications as well as custom scheme deep links, universal links (iOS), and app links (Android) to the Flutter sample app.