Skip to content

Commit f9c72b4

Browse files
committed
build: update target SDK to 35 for Android 15 support
potentially fixes (#479)
1 parent 3cb8c7e commit f9c72b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (keystorePropertiesFile.exists()) {
3131

3232
android {
3333
namespace = "com.gokadzev.musify"
34-
compileSdk 34
34+
compileSdk 35
3535

3636
compileOptions {
3737
sourceCompatibility JavaVersion.VERSION_17
@@ -54,7 +54,7 @@ android {
5454
defaultConfig {
5555
applicationId "com.gokadzev.musify"
5656
minSdk 24
57-
targetSdk 34
57+
targetSdk 35
5858
versionCode flutterVersionCode.toInteger()
5959
versionName flutterVersionName
6060
}

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
android:name="com.ryanheise.audioservice.AudioServiceActivity"
4343
android:exported="true"
4444
android:launchMode="singleTop"
45+
android:allowCrossUidActivitySwitchFromBelow="false"
4546
android:taskAffinity=""
4647
android:theme="@style/LaunchTheme"
4748
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

0 commit comments

Comments
 (0)