Skip to content

Commit

Permalink
Updating Android SDK to version 31.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlogan committed May 9, 2024
1 parent 59203b1 commit f609e89
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 30 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 31.1.0

[Release Date](https://github.com/braze-inc/braze-android-sdk/releases/tag/v31.0.1)

#### Breaking

##### Fixed
- Added `getTimestampProperty(key)` to `FeatureFlag` and deprecated `getTimestamp(key)` for consistency.

##### Added
- Added Azerbaijani language translations for Braze UI elements.

##### Changed

## 31.0.0

[Release Date](https://github.com/braze-inc/braze-android-sdk/releases/tag/v31.0.0)
Expand All @@ -13,7 +27,7 @@
- Fixed an issue where some liquid templated images would not have the proper aspect ratio.

##### Added
- Added support for new Feature Flag property types by adding `getJsonProperty(key)`, `getImageProperty(key)`, and `getDateTimeProperty(key)` to `FeatureFlag`.
- Added support for new Feature Flag property types by adding `getJsonProperty(key)`, `getImageProperty(key)`, and `getTimestampProperty(key)` to `FeatureFlag`.

##### Changed
- Removed `@Synchronized` from Brazelogger in order to eliminate noisy thread deadlock logs.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Our SDK is now hosted in Maven Central. You can remove `https://braze-inc.github

```
dependencies {
implementation 'com.braze:android-sdk-ui:31.0.+'
implementation 'com.braze:android-sdk-location:31.0.+'
implementation 'com.braze:android-sdk-ui:31.1.+'
implementation 'com.braze:android-sdk-location:31.1.+'
...
}
```
Expand All @@ -53,7 +53,7 @@ repositories {

```
dependencies {
implementation 'com.braze:android-sdk-ui:31.0.+'
implementation 'com.braze:android-sdk-ui:31.1.+'
}
```

Expand Down
3 changes: 1 addition & 2 deletions android-sdk-jetpack-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ dependencies {

android {
namespace "com.braze.jetpackcompose"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
}
Expand Down
3 changes: 1 addition & 2 deletions android-sdk-location/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ dependencies {

android {
namespace "com.braze.location"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
}
Expand Down
3 changes: 1 addition & 2 deletions android-sdk-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ dependencies {

android {
namespace "com.braze.ui"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
consumerProguardFiles 'braze-consumer-proguard-rules.pro'
Expand Down
8 changes: 8 additions & 0 deletions android-sdk-ui/src/main/res/values-az/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- News feed -->
<string name="com_braze_feed_empty">İndi sizin üçün heç bir yeniləməmiz yoxdur. Zəhmət olmasa, daha sonra yenidən yoxlayın.</string>
<string name="com_braze_feed_connection_error_title">Bağlantı Xətası</string>
<string name="com_braze_feed_connection_error_body">Şəbəkə bağlantısı qurmaq mümkün olmadı. Zəhmət olmasa, sonra yenidən cəhd edin.</string>
<string name="com_braze_inappmessage_close_content_description">Bağlayın</string>
</resources>
3 changes: 1 addition & 2 deletions android-sdk-unity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ dependencies {

android {
namespace "com.braze.unity"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
}
Expand Down
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ buildscript {

ext {
compileSdkVersion = 34
buildToolsVersion = '34.0.0'
minSdkVersion = 21
targetSdkVersion = 34
appVersionName = '31.0.0'
appVersionName = '31.1.0'
}

subprojects {
Expand All @@ -34,5 +33,5 @@ subprojects {
}

group = 'com.braze'
version = '31.0.0'
version = '31.1.0'
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FIREBASE_CRASHLYTICS_VERSION=18.2.7
FIREBASE_CRASHLYTICS_GRADLE_VERSION=2.3.0

# Braze
BRAZE_SDK_VERSION=31.0.0
BRAZE_SDK_VERSION=31.1.0

# Kotlin
KOTLIN_VERSION=1.8.10
Expand Down
3 changes: 1 addition & 2 deletions samples/custom-broadcast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ apply plugin: 'com.android.application'

android {
namespace "com.braze.custombroadcast"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
applicationId "com.braze.custombroadcast"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
Expand Down
3 changes: 1 addition & 2 deletions samples/firebase-push/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ apply from: rootProject.file("config/buildscript/break-compile-on-deprecations.g

android {
namespace "com.braze.firebasepush"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.braze.firebasepush"
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
3 changes: 1 addition & 2 deletions samples/glide-image-integration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ apply plugin: 'com.android.application'

android {
namespace "com.braze.glideimageintegration"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.braze.glideimageintegration"
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
3 changes: 1 addition & 2 deletions samples/google-tag-manager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ apply plugin: 'com.android.application'

android {
namespace "com.braze.googletagmanager"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.braze.googletagmanager"
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
3 changes: 1 addition & 2 deletions samples/hello-braze/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ apply plugin: 'com.android.application'

android {
namespace "com.braze.helloworld"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionName "1.0"
Expand Down
3 changes: 1 addition & 2 deletions samples/hms-push-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ apply plugin: 'kotlin-android'

android {
namespace "com.braze.hms_sample"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.braze.hms_sample"
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion 21 //rootProject.ext.minSdkVersion
// Huawei has not provided an SDK ready for
// API 31 so this target version is on 30
Expand Down
3 changes: 1 addition & 2 deletions samples/manual-session-integration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ apply plugin: 'com.android.application'

android {
namespace "com.braze.manualsessionintegration"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.braze.manualsessionintegration"
compileSdk rootProject.ext.compileSdkVersion
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down

0 comments on commit f609e89

Please sign in to comment.