Skip to content

Commit

Permalink
Merge pull request #536 from Iterable/MOB-5894-Release-3.4.11
Browse files Browse the repository at this point in the history
Prepare for 3.4.11
  • Loading branch information
Ayyanchira authored Mar 23, 2023
2 parents fc559c2 + 1e235ab commit be29cfd
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,37 @@ This project adheres to [Semantic Versioning](http://semver.org/).
#### Fixed
- nothing yet

## [3.4.11](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.11)

#### Added

- 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.

Some important notes about custom sounds and notification channels:

- Android API level 26 introduced [notification channels](https://developer.android.com/develop/ui/views/notifications/channels). Every notification must be assigned to a channel.
- 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).
- 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.
- Be sure to place the corresponding sound file in your app's `res/raw` directory.

- To help you access a user's `email` address, `userId`, and `authToken`, the SDK now provides convenience methods: `getEmail()`, `getUserId()`, and `getAuthToken()`.

#### Changed

- Updated the [Security library](https://developer.android.com/topic/security/data) and improved `EncryptedSharedPreferences` handling.

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).

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.

- Improved JWT token management. This change addresses an issue where `null` values could prevent the refresh of a JWT token.

#### Fixed

- Fixed an issue which could prevent in-app messages from respecting the **Position** value selected when setting up the template (top / center / bottom / full).

- Fixed crashes that sometimes happened during in-app message animations.

## [3.4.10](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.10)
This release includes support for encrypting some data at rest, and an option to
store in-app messages in memory.
Expand Down
2 changes: 1 addition & 1 deletion iterableapi-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ext {
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'

libraryVersion = '3.4.10'
libraryVersion = '3.4.11'

developerId = 'davidtruong'
developerName = 'David Truong'
Expand Down
4 changes: 2 additions & 2 deletions iterableapi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdkVersion 16
targetSdkVersion 27

buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.10\""
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.11\""

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -75,7 +75,7 @@ ext {
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'

libraryVersion = '3.4.10'
libraryVersion = '3.4.11'

developerId = 'davidtruong'
developerName = 'David Truong'
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/inbox-customization/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies {
implementation 'androidx.navigation:navigation-ui-ktx:2.1.0'
implementation 'com.google.android.material:material:1.1.0'

implementation 'com.iterable:iterableapi:3.4.10'
implementation 'com.iterable:iterableapi-ui:3.4.10'
implementation 'com.iterable:iterableapi:3.4.11'
implementation 'com.iterable:iterableapi-ui:3.4.11'
implementation 'com.squareup.okhttp3:mockwebserver:4.2.2'

testImplementation 'junit:junit:4.12'
Expand Down

0 comments on commit be29cfd

Please sign in to comment.