From b59ae8e3ee9c70547fcdffc12dee518c10d504b2 Mon Sep 17 00:00:00 2001 From: maureenorea-clores <93700127+maureenorea-clores@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:34:46 +0900 Subject: [PATCH] feat: add Android 14 support (SDKCF-6327) --- build.gradle | 4 ++-- inappmessaging/USERGUIDE.md | 12 ++++++++---- test-compose/build.gradle | 4 ++-- test/build.gradle | 4 ++-- test/src/main/AndroidManifest.xml | 7 +++---- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index 894b8a0b..1ddbabdc 100644 --- a/build.gradle +++ b/build.gradle @@ -6,8 +6,8 @@ buildscript { apply from: 'config/index.gradle' CONFIG.versions.android.sdk.min = 23 - CONFIG.versions.android.sdk.target = 33 - CONFIG.versions.android.sdk.compile = 33 + CONFIG.versions.android.sdk.target = 34 + CONFIG.versions.android.sdk.compile = 34 CONFIG.versions.kotlin = '1.6.21' repositories { diff --git a/inappmessaging/USERGUIDE.md b/inappmessaging/USERGUIDE.md index 08eb7f06..a5c60000 100644 --- a/inappmessaging/USERGUIDE.md +++ b/inappmessaging/USERGUIDE.md @@ -46,18 +46,18 @@ dependencies { ``` Please refer to [Changelog](#changelog) section for the latest version. -### #3 Target and compile SDK version to 33 or above. -Note: It is required to target and compile to SDK version 33 or above. +### #3 Target and compile SDK version to 34 or above. +Note: It is required to target and compile to SDK version 34 or above. ```groovy android { - compileSdkVersion 33 + compileSdkVersion 34 defaultConfig { // Defines the minimum API level required to run the app. minSdkVersion 23 // Specifies the API level used to test the app. - targetSdkVersion 33 + targetSdkVersion 34 } } ``` @@ -483,6 +483,10 @@ Documents targeting Product Managers: ## Changelog +### 7.6.0 (In-Progress) +* SDKCF-6327: Updated compile and target SDK to API 34 (Android 14). + - As part of security updates, the use of implicit intents is restricted. If you plan to redirect users to internal app activity through a campaign's button action, make sure to mark the activity as `android:exported="true"`. + ### 7.5.0 (2023-12-12) * SDKCF-6575: Added sending of device Id in all IAM requests. * Improved the following classes to increase code coverage: diff --git a/test-compose/build.gradle b/test-compose/build.gradle index b16247cd..175e5247 100644 --- a/test-compose/build.gradle +++ b/test-compose/build.gradle @@ -6,14 +6,14 @@ apply plugin: 'kotlin-kapt' def compose_version = '1.2.0-rc02' android { - compileSdkVersion 33 + compileSdkVersion CONFIG.versions.android.sdk.compile defaultConfig { applicationId "com.rakuten.tech.mobile.test_compose" versionCode 1 versionName "0.0" minSdkVersion CONFIG.versions.android.sdk.min - targetSdkVersion 33 + targetSdkVersion CONFIG.versions.android.sdk.target testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/test/build.gradle b/test/build.gradle index 990ed0e0..6788d356 100644 --- a/test/build.gradle +++ b/test/build.gradle @@ -5,7 +5,7 @@ apply plugin: "kotlin-android" apply plugin: 'kotlin-kapt' android { - compileSdkVersion 33 + compileSdkVersion CONFIG.versions.android.sdk.compile defaultConfig { applicationId "rakuten.com.tech.mobile.test" @@ -14,7 +14,7 @@ android { // Defines the minimum API level required to run the app. minSdkVersion CONFIG.versions.android.sdk.min // Specifies the API level used to test the app. - targetSdkVersion 33 + targetSdkVersion CONFIG.versions.android.sdk.target testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/test/src/main/AndroidManifest.xml b/test/src/main/AndroidManifest.xml index 4b7573a7..a1bce95b 100644 --- a/test/src/main/AndroidManifest.xml +++ b/test/src/main/AndroidManifest.xml @@ -39,16 +39,15 @@ + android:scheme="sampleapp" + android:host="second.activity" />