Skip to content

Commit ab98e04

Browse files
committed
Batch 1.6
1 parent 74c6020 commit ab98e04

File tree

16 files changed

+102
-125
lines changed

16 files changed

+102
-125
lines changed

SDK/CHANGELOG.md

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

4+
1.6.0
5+
-----
6+
* Batch now requires Android 4.0.3 (API Level 15)
7+
* Batch now targets Android 7 (API Level 24), and should only be used in apps that compile with that SDK version. You should also use a v24 support-v4 library with it.
8+
* Updated notification behaviour to be more adapted to changes introduced in Nougat
9+
* `setCanUseAdvancedDeviceInformation()` has been introduced on the `Config` object to reduce the quantity of device information Batch will use. Note that disabling this will limit several dashboard features.
10+
* `BatchPushData` has been deprecated in favour of `BatchPushPayload`, which is easier to use and will allow you to read anything used by Batch's standard push receiver. It's also easier to instanciate from an intent/bundle, and easier to serialize.
11+
* InstanceID support has been merged into the main SDK. If migrating from an older SDK, you'll need to add a new service in your manifest, as described in the [push setup](/doc/android/sdk-integration/push-setup.html).
12+
* The overall method count has been reduced.
13+
414
1.5.4
515
-----
616
* Fix a rare memory leak for the last activity

SDK/Eclipse/Batch/AndroidManifest.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
package="com.batch.android">
33

44
<uses-sdk
5-
android:targetSdkVersion="23" />
5+
android:targetSdkVersion="24" />
66

7-
<application />
7+
<application>
8+
<activity android:name=".BatchActionActivity"
9+
android:theme="@style/com.batch.android.ActionActivityTheme"
10+
android:exported="false" />
811

9-
</manifest>
12+
<service android:name=".BatchActionService"
13+
android:exported="false" />
14+
</application>
15+
16+
</manifest>

SDK/Eclipse/Batch/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
buildscript {
22
repositories {
33
mavenCentral()
4+
jcenter()
45
}
56

67
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.0.0'
8+
classpath 'com.android.tools.build:gradle:2.2.1'
89
}
910
}
1011

1112
apply plugin: 'com.android.library'
1213

1314
android {
14-
compileSdkVersion 23
15-
buildToolsVersion "23.0.3"
15+
compileSdkVersion 24
16+
buildToolsVersion "24.0.3"
1617

1718
defaultConfig {
1819
minSdkVersion 9
19-
targetSdkVersion 23
20+
targetSdkVersion 24
2021
}
2122

2223
sourceSets {

SDK/Eclipse/Batch/libs/batch.jar

-87 KB
Binary file not shown.

SDK/Eclipse/Batch/res/values/styles.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@
55
<style name="com.batch.android.AdActivityTheme" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
66
</style>
77

8+
<style name="com.batch.android.MessagingActivityTheme" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar.MinWidth">
9+
<item name="android:windowBackground">@null</item>
10+
<item name="android:backgroundDimEnabled">false</item>
11+
</style>
12+
13+
<style name="com.batch.android.ActionActivityTheme" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar.MinWidth">
14+
<item name="android:windowBackground">@null</item>
15+
<item name="android:backgroundDimEnabled">false</item>
16+
</style>
17+
818
</resources>

SDK/Gradle/Batch.aar

-80.2 KB
Binary file not shown.

Sample_Project/sample/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

Sample_Project/sample/.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sample_Project/sample/.idea/encodings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

Sample_Project/sample/.idea/gradle.xml

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)