Fixed
- Fixes an Android issue where Gradle configuration failed on Android Gradle Plugin 9+ with built-in Kotlin enabled. AGP 8 and older are unchanged.
- Updates the native Swift SDK version bindings from Braze Swift SDK 18.2.0 to 18.2.1.
Added
- Adds
Braze.unregisterPush()to unregister the device's push token from the current user's profile.- Returns a
Promisethat resolves on success or rejects with aBraze.BrazePushUnregistrationErroron failure, so integrators can implement their own retry behavior.
- Returns a
- Adds a
Braze.logout()to unregister the device's push token and push-to-start tokens (for iOS), if present. On success, it will wipe local data and disable the SDK.- Returns a
Promisethat resolves on success or rejects with aBraze.BrazePushUnregistrationErroron failure, so integrators can implement their own retry behavior. On failure, no data is wiped and the SDK stays enabled.
- Returns a