This repository was archived by the owner on Jul 28, 2022. It is now read-only.
v7.0.0
- Migrated to Batch SDK v1.18
- For iOS:
- [BREAKING] Make sure to update your Podfile Batch SDK version
- [BREAKING] Batch requires Xcode 13 or higher
- For iOS:
- Add
BatchEventData.putURL - Add
BatchUserEditor.setURLAttribute - Add
BatchEventData.putDate(timestamp)(BatchUserEditor.setDateAttributealready exists) - Add
BatchMessaging.addListenerandBatchPush.addListenerto listen for messaging and push notifications events- see documentation for iOS event dispatchers and Android event dispatchers to see platform differences
- Add new methods to replace deprecated
BatchPush.registerForRemoteNotifications:- to request iOS permission
BatchPush.requestNotificationAuthorizationandBatchPush.requestProvisionalNotificationAuthorization(to be called when you want to ask user for the permission) - to synchronize the token with Batch
BatchPush.refreshToken(to be called at each app launch after opt-in if you're opted out by default)
- to request iOS permission
- Fix
isUnreadproperty of a Batch inbox notification : it was previously always undefined, now it is correctly set - Fix crash in
trackTransaction
Full Changelog: v6.0.2...v7.0.0