From be42474ccc23b9247588c07971b3315d78d935ca Mon Sep 17 00:00:00 2001 From: Shubham Singh Date: Sat, 9 Nov 2024 16:43:53 +0530 Subject: [PATCH] Remove Android Splash Screen API because of build errors --- gradle/libs.versions.toml | 2 -- sampleAndroidApp/build.gradle.kts | 1 - sampleAndroidApp/src/main/AndroidManifest.xml | 2 +- sampleAndroidApp/src/main/res/values/styles.xml | 7 ------- 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e65a42a..5647417 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,5 @@ [versions] agp = "8.7.2" -androidSplashScreen = "1.0.1" androidx-activityCompose = "1.9.3" compose = "1.7.5" compose-material3 = "1.3.1" @@ -14,7 +13,6 @@ minSdk = "28" targetSdk = "35" [libraries] -androidSplashScreen = { module = "androidx.core:core-splashscreen", version.ref = "androidSplashScreen" } androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" } compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "compose-material3" } compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } diff --git a/sampleAndroidApp/build.gradle.kts b/sampleAndroidApp/build.gradle.kts index da2edd5..87312d6 100644 --- a/sampleAndroidApp/build.gradle.kts +++ b/sampleAndroidApp/build.gradle.kts @@ -38,7 +38,6 @@ android { } dependencies { - debugImplementation(libs.androidSplashScreen) debugImplementation(libs.compose.ui.tooling) implementation(libs.androidx.activity.compose) implementation(libs.compose.material3) diff --git a/sampleAndroidApp/src/main/AndroidManifest.xml b/sampleAndroidApp/src/main/AndroidManifest.xml index 53cc976..732b2b3 100644 --- a/sampleAndroidApp/src/main/AndroidManifest.xml +++ b/sampleAndroidApp/src/main/AndroidManifest.xml @@ -19,7 +19,7 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:theme="@style/SplashScreen"> + android:theme="@style/AppTheme"> diff --git a/sampleAndroidApp/src/main/res/values/styles.xml b/sampleAndroidApp/src/main/res/values/styles.xml index f03272e..45af79c 100644 --- a/sampleAndroidApp/src/main/res/values/styles.xml +++ b/sampleAndroidApp/src/main/res/values/styles.xml @@ -1,10 +1,3 @@ - - -