Skip to content

Tags: magicbell/magicbell-android

Tags

2.0.0

Toggle 2.0.0's commit message
2.0.0

This release is mostly compatible with version 1.0.0 of the SDK. It introduces two breaking changes though. Please consult the Readme.md for detailed reference.

 ## Breaking: Updated Notification Preferences API

The shape of the returned preferences object changed and now contains categories and channels.

 ## Breaking: HMAC validation

Instead of being required to pass the API secret, the HMAC should be computed on backend and passed to the frontend, where it is expected as an argument on the connectUser call.
Also the MagicBellClient does not have a enableHMAC flag anymore. The behaviour whether to send an HMAC header is now defined by whether one was passed as an argument to the connectUser call.

 ## APNS Integration

The previous SDK was registering device tokens using the
`/push_subscriptions` API endpoint. Since version 2, the SDK uses the
`/channels/mobile_push/apns/tokens

0.0.2

Toggle 0.0.2's commit message