This repository was archived by the owner on Jul 28, 2022. It is now read-only.
v6.0.0-rc.3
Pre-release
Pre-release
This is a pre-release for the next version of @bam.tech/react-native-batch. There are several breaking changes (indicated with [BREAKING]) so please read along. The documentation hosted on GitHub has not been updated as this is still a pre-release. The following changelog may evolve with new breaking changes until the stable version.
See also rc.0 changelog, rc.1 changelog, and rc.2 changelog.
- [BREAKING] Do not disturb (for mobile landings/in app messages) is now enabled by default. And on Android, it is now configured on the native side like on iOS. Read the updated README to see why and how to handle the new behavior (call
disableDoNotDisturbAndShowPendingMessagewhen ready, or disable do not disturb manually) - [BREAKING]
Batch.startis now useless so it has been removed. You must remove any call toBatch.startin your javascript code. - [BREAKING] [iOS] the optional argument to
[RNBatch start]native method is now useless so it has been removed. You must replace any[RNBatch start:false]to[RNBatch start] - [iOS]
showPendingMessagewill now work correctly - [Android] Fixed potential crash in
showPendingMessagewhen the activity is not found - Added
disableDoNotDisturbAndShowPendingMessagefor quicker setup and to minimize any race condition between disabling do not disturb and showing the pending message - Exposed promises in critical methods such as
optInin order to prevent potential race conditions