From 10326df207517f7bf083248fe94a4cb262f800bc Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Tue, 29 Aug 2023 11:13:59 +0700 Subject: [PATCH] [#29] Rename Android's app id --- android/build.gradle.kts | 4 ++-- .../nimblehq/kmm/template/{android => }/util/LogUtil.kt | 2 +- android/src/main/AndroidManifest.xml | 4 ++-- .../{android/MyApplication.kt => MainApplication.kt} | 8 ++++---- .../co/nimblehq/kmm/template/android/lib/TypeAlias.kt | 3 --- .../kmm/template/{android => }/di/ViewModelModule.kt | 2 +- .../main/java/co/nimblehq/kmm/template/lib/TypeAlias.kt | 3 +++ .../kmm/template/{android => }/ui/base/BaseViewModel.kt | 6 +++--- .../{android => }/ui/navigation/AppDestination.kt | 2 +- .../template/{android => }/ui/navigation/AppNavigation.kt | 4 ++-- .../kmm/template/{android => }/ui/screens/MainActivity.kt | 6 +++--- .../template/{android => }/ui/screens/home/HomeScreen.kt | 4 ++-- .../kmm/template/{android => }/ui/theme/AppColors.kt | 2 +- .../kmm/template/{android => }/ui/theme/AppDimensions.kt | 2 +- .../kmm/template/{android => }/ui/theme/AppStyles.kt | 2 +- .../nimblehq/kmm/template/{android => }/ui/theme/Theme.kt | 2 +- .../template/{android => }/util/DispatchersProvider.kt | 2 +- .../nimblehq/kmm/template/{android => }/util/LogUtil.kt | 2 +- .../kmm/template/{android => }/test/CoroutineTestRule.kt | 2 +- 19 files changed, 31 insertions(+), 31 deletions(-) rename android/src/debug/java/co/nimblehq/kmm/template/{android => }/util/LogUtil.kt (72%) rename android/src/main/java/co/nimblehq/kmm/template/{android/MyApplication.kt => MainApplication.kt} (63%) delete mode 100644 android/src/main/java/co/nimblehq/kmm/template/android/lib/TypeAlias.kt rename android/src/main/java/co/nimblehq/kmm/template/{android => }/di/ViewModelModule.kt (77%) create mode 100644 android/src/main/java/co/nimblehq/kmm/template/lib/TypeAlias.kt rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/base/BaseViewModel.kt (88%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/navigation/AppDestination.kt (86%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/navigation/AppNavigation.kt (90%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/screens/MainActivity.kt (67%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/screens/home/HomeScreen.kt (82%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/theme/AppColors.kt (93%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/theme/AppDimensions.kt (79%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/theme/AppStyles.kt (77%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/ui/theme/Theme.kt (97%) rename android/src/main/java/co/nimblehq/kmm/template/{android => }/util/DispatchersProvider.kt (89%) rename android/src/release/java/co/nimblehq/kmm/template/{android => }/util/LogUtil.kt (68%) rename android/src/test/java/co/nimblehq/kmm/template/{android => }/test/CoroutineTestRule.kt (92%) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 4a0c03fc..b077b599 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -9,10 +9,10 @@ plugins { val keystoreProperties = loadProperties("$rootDir/signing.properties") android { - namespace = "co.nimblehq.kmm.template.android" + namespace = "co.nimblehq.kmm.template" compileSdk = Versions.ANDROID_COMPILE_SDK defaultConfig { - applicationId = "co.nimblehq.kmm.template.android" + applicationId = "co.nimblehq.kmm.template" minSdk = Versions.ANDROID_MIN_SDK targetSdk = Versions.ANDROID_TARGET_SDK versionCode = Versions.ANDROID_VERSION_CODE diff --git a/android/src/debug/java/co/nimblehq/kmm/template/android/util/LogUtil.kt b/android/src/debug/java/co/nimblehq/kmm/template/util/LogUtil.kt similarity index 72% rename from android/src/debug/java/co/nimblehq/kmm/template/android/util/LogUtil.kt rename to android/src/debug/java/co/nimblehq/kmm/template/util/LogUtil.kt index 441bd848..d6aa6e3b 100644 --- a/android/src/debug/java/co/nimblehq/kmm/template/android/util/LogUtil.kt +++ b/android/src/debug/java/co/nimblehq/kmm/template/util/LogUtil.kt @@ -1,4 +1,4 @@ -package co.nimblehq.kmm.template.android.util +package co.nimblehq.kmm.template.util import timber.log.Timber diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 7bc2f159..44c41ed3 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,11 +1,11 @@ + package="co.nimblehq.kmm.template">