Skip to content

12.0.0

Choose a tag to compare

@arnaud-roland arnaud-roland released this 07 Nov 15:37
· 3 commits to master since this release

This is a major release with important breaking changes, please see our migration guide for more info on how to update your current Batch implementation.

Expo

  • Removed Expo support from this repository. You should now use our new dedicated Batch-Expo-Plugin.

Core

  • Batch requires react-native v0.77 or higher.
  • Removed support for the old React Native architecture (Native Module). The plugin is now a pure Turbo Module and requires the new architecture enabled.
  • Batch no longer requires a custom React Native CLI configuration. If react-native.config.js only exists for Batch, delete it or remove the @batch.com/react-native-plugin entry.

Android

  • The plugin is no longer auto-initialized. You should now call RNBatchModule.initialize(application) from MainApplication.onCreate() to complete setup.
  • The initial state of the "Do Not Disturb" (DnD) feature is no longer read from the Android resources. You should now add a meta-data tag batch_do_not_disturb_initial_state to the section of your AndroidManifest.