1.18.0
Core
- Fixed detection of indonesian, hebrew and yiddish languages.
- Improved how the device locale is detected to better support language variations.
- Fixed an issue where the direct opens weren't always tracked in singleTop/singleTask activities using
onNewIntent
.
Events
- The event tracker now retries less aggressively in deteriorated network conditions.
- Added URL type (using
java.net.URI
) in event data.
Attributes
- Added URL type in custom attributes.
Messaging
- Fixed an issue where in-app campaigns could lead to a crash of the app when swiping to dismiss.
- Added support for Activity Exclusion. This allows to easily exclude some activities such as a splash screen from Batch rather than having to implement a Do Not Disturb mode. Intent forwarding is automatically handled by the SDK.
Push
- Added compatibility with FCM Tokens. Batch now supports firebase-messaging 22.0.0 natively without having to add
firebase-iid
.
Inbox
- Batch will now cache notifications marked as read or deleted to avoid any synchronization issues.
- Method
isDeleted()
from BatchInboxNotificationContent is now deprecated.
Debug
- Fixed an issue where the debug activity would show the advertising identifier even if it was disabled. The bug was purely cosmetic and the identifier was not sent to Batch.
- Batch will now copy the installation ID to the clipboard when the application is foregrounded multiple times in a short timespan. This is enabled by default, you can disable it at any moment by using
Batch.setFindMyInstallationEnabled(false)
.