Skip to content

Commit 04bfe0b

Browse files
committed
SDK 1.13.0
1 parent 18ac210 commit 04bfe0b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

SDK/Batch.aar

-30.2 KB
Binary file not shown.

SDK/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
CHANGELOG
22
=========
33

4+
1.13.0
5+
----
6+
7+
**Core**
8+
9+
* SDK is now built with the Pie SDK, and targets API Level 28.
10+
11+
* Opting-out from the SDK now sends an event notifying the server of this. If a data wipe has been asked, the request will also be forwarded to the server.
12+
New methods have been introduced to be informed of the status of the request to update your UI accordingly, and possibly revert the opt-out if the network is unreachable.
13+
14+
**Push**
15+
16+
* Exposed the tag Batch uses to display notifications in the constant `Batch.NOTIFICATION_TAG`. You can use this to cancel notifications, or use other APIs that require finding notifications by ID and tag.
17+
18+
* Added `Batch.Messaging.setShowForegroundLandings()`. It allows you to disable Batch's default behaviour to forward push messages containing landings to the app if it is in the foreground. Call this method with `false` will result in notifications always being posted no matter what the application state is.
19+
20+
**Events**
21+
22+
Event data support has been overhauled. As a result:
23+
24+
* Introduced `BatchEventData`. Use this class to attach attributes and tags to an event. See this class' documentation for more information about limits.
25+
* `Batch.User.trackEvent(String name, Stringlabel, JSONObject data)` has been deprecated
26+
- Calls to this method will log deprecation warnings in the console
27+
- Legacy data (JSONObject) will be converted to `BatchEventData`. Same data format restrictions apply: Any key/value entry that can't be converted will be ignored, and logged. Tags are not supported
28+
* Introduced `Batch.User.trackEvent(String name, Stringlabel, BatchEventData data)`, replacing the deprecated method.
29+
30+
More info in the [event documentation](/doc/android/custom-data/custom-events.html#_event-data).
31+
432
1.12.1
533
----
634
* FCM registration errors are now more explicitly logged

0 commit comments

Comments
 (0)