Skip to content

Commit be29cfd

Browse files
authored
Merge pull request #536 from Iterable/MOB-5894-Release-3.4.11
Prepare for 3.4.11
2 parents fc559c2 + 1e235ab commit be29cfd

File tree

4 files changed

+36
-5
lines changed

4 files changed

+36
-5
lines changed

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,37 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515
#### Fixed
1616
- nothing yet
1717

18+
## [3.4.11](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.11)
19+
20+
#### Added
21+
22+
- Custom push notification sounds! To play a custom sound for a push notification, add a sound file to your app's `res/raw` folder and specify that same filename when setting up a template in Iterable.
23+
24+
Some important notes about custom sounds and notification channels:
25+
26+
- Android API level 26 introduced [notification channels](https://developer.android.com/develop/ui/views/notifications/channels). Every notification must be assigned to a channel.
27+
- Each custom sound you add to an Iterable template creates a new Android notification channel. The notification channel's name matches the filename of the sound (without its extension).
28+
- To ensure sensible notification channel names for end users, give friendly names to your sound files. For example, a custom sound file with name `Paid.mp3` creates a notification channel called `Paid`. The end user can see this notification channel name in their device's notification channel settings.
29+
- Be sure to place the corresponding sound file in your app's `res/raw` directory.
30+
31+
- To help you access a user's `email` address, `userId`, and `authToken`, the SDK now provides convenience methods: `getEmail()`, `getUserId()`, and `getAuthToken()`.
32+
33+
#### Changed
34+
35+
- Updated the [Security library](https://developer.android.com/topic/security/data) and improved `EncryptedSharedPreferences` handling.
36+
37+
To work around a [known Android issue](https://issuetracker.google.com/issues/164901843) that can cause crashes when creating `EncryptedSharedPreferences`, we've upgraded `androidx.security.crypto` from version `1.0.0` to `1.1.0-alpha04`. When `EncryptedSharedPreferences` cannot be created, the SDK now uses `SharedPreferences` (unencrypted).
38+
39+
If your app requires encryption, you can prevent this fallback to `SharedPreferences` by setting the `encryptionEnforced` configuration flag to `true`. However, if you enable this flag and `EncryptedSharedPreferences` cannot be created, an exception will be thrown.
40+
41+
- Improved JWT token management. This change addresses an issue where `null` values could prevent the refresh of a JWT token.
42+
43+
#### Fixed
44+
45+
- Fixed an issue which could prevent in-app messages from respecting the **Position** value selected when setting up the template (top / center / bottom / full).
46+
47+
- Fixed crashes that sometimes happened during in-app message animations.
48+
1849
## [3.4.10](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.10)
1950
This release includes support for encrypting some data at rest, and an option to
2051
store in-app messages in memory.

iterableapi-ui/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ext {
4848
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
4949
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
5050

51-
libraryVersion = '3.4.10'
51+
libraryVersion = '3.4.11'
5252

5353
developerId = 'davidtruong'
5454
developerName = 'David Truong'

iterableapi/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 16
1212
targetSdkVersion 27
1313

14-
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.10\""
14+
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.11\""
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
}
@@ -75,7 +75,7 @@ ext {
7575
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
7676
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
7777

78-
libraryVersion = '3.4.10'
78+
libraryVersion = '3.4.11'
7979

8080
developerId = 'davidtruong'
8181
developerName = 'David Truong'

sample-apps/inbox-customization/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ dependencies {
3333
implementation 'androidx.navigation:navigation-ui-ktx:2.1.0'
3434
implementation 'com.google.android.material:material:1.1.0'
3535

36-
implementation 'com.iterable:iterableapi:3.4.10'
37-
implementation 'com.iterable:iterableapi-ui:3.4.10'
36+
implementation 'com.iterable:iterableapi:3.4.11'
37+
implementation 'com.iterable:iterableapi-ui:3.4.11'
3838
implementation 'com.squareup.okhttp3:mockwebserver:4.2.2'
3939

4040
testImplementation 'junit:junit:4.12'

0 commit comments

Comments
 (0)