Releases: magicbell/magicbell-android
v3.0.0
Major Changes
-
f3915c7: Updated topic and category filtering APIs in
StorePredicate
Previously one was able to filter for multiple topics and categories, but this functionality is now deprecated in favor of only filtering for a single topic and category.
Please reach out to us via the Community if you need the previous functionality.
Minor Changes
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 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 /integrations/mobile_push/apns
What's Changed
- Upgrading Android and Gradle Tooling by @stigi in #13
- Remove API secret in favor of explicitly passing user HMAC by @stigi in #14
- Notification preferences update by @stigi in #15
- fix: Use correct keys when parsing action URL and custom Attributes from notification response by @stigi in #16
- chore: Migrate from Push Subscriptions to FCM Integration by @stigi in #17
- chore: Bump SDK version to 2.0.0 by @stigi in #18
New Contributors
Full Changelog: 1.0.0...2.0.0