Skip to content

21.0.0

Choose a tag to compare

@jerielng jerielng released this 13 Jul 14:48
· 7 commits to master since this release
Breaking
  • Updates the native iOS bridge from Braze Swift SDK 16.0.0 to 17.0.0.
    • With this update, the native Braze.init and changeUser(userId:) no longer block the calling thread. Refer to the full release notes for Swift SDK 17.0.0 for more details.
  • Removes the following deprecated methods:
    • logCustomEventWithProperties(). Use logCustomEvent() instead.
    • logPurchaseWithProperties(). Use logPurchase() instead.
    • registerAndroidPushToken(). Use registerPushToken() instead.
    • getInstallTrackingId(). Use getDeviceId() instead.
    • setGoogleAdvertisingId(). Use setAdTrackingEnabled() instead.
Fixed
  • Fixes an iOS race where a Braze method called immediately after initialize() was silently dropped because the native Braze instance had not been created yet. The instance is now created synchronously so calls made right after initialize() are applied to a valid instance.
  • The native changeUser, enableSDK, and disableSDK handlers now return a completion result on both iOS and Android, so awaiting these method channel calls no longer hangs.