Skip to content

Commit 07c2bc7

Browse files
committed
Batch SDK 1.12.0
1 parent 748c5e7 commit 07c2bc7

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

SDK/Batch.aar

16.3 KB
Binary file not shown.

SDK/CHANGELOG.md

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

4+
1.12.0
5+
----
6+
* Batch now fully supports Firebase Cloud Messaging. Note that existing Batch integrations will NOT automatically be migrated to FCM. You should follow the [migration steps](https://batch.com/doc/android/advanced/fcm-migration.html) before April 2019.
7+
8+
* Added methods to handle opting-out from Batch, and wiping user data.
9+
Please see `Batch.optOut()`, `Batch.optOutAndWipeData()` and `Batch.optIn()`.
10+
You can control whether Batch is opted out from by default using a manifest meta-data entry:
11+
`<meta-data android:name="batch_opted_out_by_default" android:value="false" />`
12+
For compatibility reasons, Batch will be enabled by default.
13+
More info in our documentation.
14+
15+
* When a push registration identifier has successfully been fetched, Batch will now broadcast it as the action definied by `Batch.ACTION_REGISTRATION_IDENTIFIER_OBTAINED`. More info in the documentation.
16+
* Banners now correctly track their display, and trigger a `onBatchMessageShown()` call on your `LifecycleListener` if one is set.
17+
* Displaying a banner will dismiss any currently displayed banner
18+
* Deprecated Config.setCanUseAndroidID: Android id is never collected anymore.
19+
* Deprecated Config.setCanUseInstanceID: users should migrate to FCM.
20+
* Added `android.permission.INTERNET`, `android.permission.WAKE_LOCK` and `android.permission.VIBRATE` in Batch's manifest, meaning that your app will automatically require them with no additional manifest changes. This should not impact you as they're required by many libraries, including Google's, and have always been required for Batch to work. If you didn't have them already, this might trigger a permission request on pre Marshmallow devices: please look at the manifest merger output to see if this impacts you.
21+
* Fixed some rare crashes that could happen on some Android emulators that broadcast malformed Google Play Services intents.
22+
* Various javadoc fixes
23+
24+
Note: This version is the **last one** supporting Android Studio 2.x. Batch 1.13 will ONLY support Android Studio 3.x and later.
25+
426
1.11.0
527
----
628
* Added support for Banners in In-App Messaging

Sample_Project/sample/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ dependencies {
3535
compile 'com.google.android.gms:play-services-base:9.6.1'
3636
compile 'com.google.android.gms:play-services-gcm:9.6.1'
3737
compile 'com.google.android.gms:play-services-ads:9.6.1'
38-
compile 'com.batch.android:batch-sdk:1.11+'
38+
compile 'com.batch.android:batch-sdk:1.12+'
3939
}

0 commit comments

Comments
 (0)