Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

v7.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Minishlink Minishlink released this 29 Nov 20:36
· 12 commits to master since this release

This is a pre-release for the next minor version of @bam.tech/react-native-batch. The documentation hosted on GitHub has not been updated as this is still a pre-release.

  • Migrated to Batch SDK v1.18
    • For iOS:
      1. [BREAKING] Make sure to update your Podfile Batch SDK version
      2. [BREAKING] Batch requires Xcode 13 or higher
  • Add BatchEventData.putURL
  • Add BatchUserEditor.setURLAttribute
  • Add BatchEventData.putDate(timestamp) (BatchUserEditor.setDateAttribute already exists)
  • Add BatchMessaging.addListener and BatchPush.addListener to listen for messaging and push notifications events
  • Add new methods to replace deprecated BatchPush.registerForRemoteNotifications:
    • to request iOS permission BatchPush.requestNotificationAuthorization and BatchPush.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)

Full Changelog: v6.0.2...v7.0.0-rc.0