Skip to content

10.0.0

Compare
Choose a tag to compare
@arnaud-roland arnaud-roland released this 06 Dec 16:09
· 15 commits to master since this release

Plugin

  • Updated Batch to 2.1
  • Batch requires iOS 13.0 or higher.
  • Batch requires to compile with SDK 35 (Android 15).
  • Added support for React-Native New Architecture Turbo Module. This requires React-Native 0.71+ when running with new architecture enabled, as Codegen and Turbo Module are fully supported. Batch is still backwards compatible with legacy Native Modules.

Expo

  • Batch now automatically adds Apple push notification entitlement since it was removed from Expo SDK 51.

Push

  • Removed deprecated API registerForRemoteNotifications. Please use requestNotificationAuthorization to request permission when needed, and requestToken at each app launch.

Profile

  • Added setPhoneNumber API to the BatchProfileAttributeEditor class. This requires to have a user identifier registered or to call the identify method beforehand.
  • Added setSMSMarketingSubscription API to the BatchProfileAttributeEditor class.

Messaging

  • Added messagingCustomPayload property to BatchMessagingEventPayload (only for In-App Message).
  • Added pushPayload property to BatchMessagingEventPayload (only for Landing Mobile).

Inbox

  • Added isSilent property to IInboxNotification.
  • Added setFilterSilentNotifications method to BatchInboxFetcher. Default value is true.
  • ⚠️ BREAKING: body property from IInboxNotification is now nullable since the inbox fetcher may not filter silent notifications.