diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 4c23f4b..a1c968f 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -16,7 +16,7 @@ if (keystorePropertiesFile.exists()) { android { - namespace = "com.example.e_receipt_mobile" + namespace = "com.kbz.utsmm.e_receipt_mobile" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion @@ -31,7 +31,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.e_receipt_mobile" + applicationId = "com.kbz.utsmm.e_receipt_mobile" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion diff --git a/android/app/src/main/kotlin/com/example/e_receipt_mobile/MainActivity.kt b/android/app/src/main/kotlin/com/kbz/utsmm/e_receipt_mobile/MainActivity.kt similarity index 68% rename from android/app/src/main/kotlin/com/example/e_receipt_mobile/MainActivity.kt rename to android/app/src/main/kotlin/com/kbz/utsmm/e_receipt_mobile/MainActivity.kt index 3e90457..a4484e8 100644 --- a/android/app/src/main/kotlin/com/example/e_receipt_mobile/MainActivity.kt +++ b/android/app/src/main/kotlin/com/kbz/utsmm/e_receipt_mobile/MainActivity.kt @@ -1,5 +1,5 @@ -package com.example.e_receipt_mobile - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() +package com.kbz.utsmm.e_receipt_mobile + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 35429cc..dd30f3d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -368,7 +368,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -384,7 +384,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -401,7 +401,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -416,7 +416,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -547,7 +547,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -569,7 +569,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.eReceiptMobile; + PRODUCT_BUNDLE_IDENTIFIER = com.kbz.utsmm.e_receipt_mobile; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/pubspec.lock b/pubspec.lock index aad91f1..45d3cc0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -41,6 +41,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.2" + change_app_package_name: + dependency: "direct dev" + description: + name: change_app_package_name + sha256: "8e43b754fe960426904d77ed4c62fa8c9834deaf6e293ae40963fa447482c4c5" + url: "https://pub.dev" + source: hosted + version: "1.5.0" characters: dependency: transitive description: @@ -236,10 +244,10 @@ packages: dependency: transitive description: name: matcher - sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6" + sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861 url: "https://pub.dev" source: hosted - version: "0.12.18" + version: "0.12.19" material_color_utilities: dependency: transitive description: @@ -473,10 +481,10 @@ packages: dependency: transitive description: name: test_api - sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636" + sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a" url: "https://pub.dev" source: hosted - version: "0.7.9" + version: "0.7.10" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index f4856ea..dc13a61 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -51,6 +51,7 @@ dev_dependencies: # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^6.0.0 + change_app_package_name: ^1.5.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec