From d22fd77cc66a4a3fd9a054df83ad5cbd5f5985c6 Mon Sep 17 00:00:00 2001 From: Lucas SAUDON Date: Thu, 23 May 2024 10:25:54 +0200 Subject: [PATCH] tech: Rename applicationId --- app/android/app/build.gradle | 4 +-- .../kotlin/fr/gouv/beta/agir/MainActivity.kt | 2 +- app/ios/Runner.xcodeproj/project.pbxproj | 36 +++++++++---------- old/android/app/build.gradle | 4 +-- .../kotlin/com/example/mobile/MainActivity.kt | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle index 8ec47fa0..d0cb3ee8 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -24,7 +24,7 @@ if (flutterVersionName == null) { } android { - namespace = "fr.gouv.beta.agir" + namespace = "fr.gouv.beta.fnv.app" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion @@ -34,7 +34,7 @@ android { } defaultConfig { - applicationId = "fr.gouv.beta.agir" + applicationId = "fr.gouv.beta.fnv.app" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutterVersionCode.toInteger() diff --git a/app/android/app/src/main/kotlin/fr/gouv/beta/agir/MainActivity.kt b/app/android/app/src/main/kotlin/fr/gouv/beta/agir/MainActivity.kt index 0094722d..03f47c91 100644 --- a/app/android/app/src/main/kotlin/fr/gouv/beta/agir/MainActivity.kt +++ b/app/android/app/src/main/kotlin/fr/gouv/beta/agir/MainActivity.kt @@ -1,4 +1,4 @@ -package fr.gouv.beta.agir +package fr.gouv.beta.fnv.app import io.flutter.embedding.android.FlutterActivity diff --git a/app/ios/Runner.xcodeproj/project.pbxproj b/app/ios/Runner.xcodeproj/project.pbxproj index 3c7992a2..4f9baeb4 100644 --- a/app/ios/Runner.xcodeproj/project.pbxproj +++ b/app/ios/Runner.xcodeproj/project.pbxproj @@ -369,7 +369,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -385,7 +385,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -402,7 +402,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -417,7 +417,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -549,7 +549,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -572,7 +572,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -651,7 +651,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.dev; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.dev; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -668,7 +668,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -745,7 +745,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.dev; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.dev; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -761,7 +761,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -834,7 +834,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.dev; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.dev; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -850,7 +850,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -928,7 +928,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -945,7 +945,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -1022,7 +1022,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -1038,7 +1038,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; @@ -1111,7 +1111,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -1127,7 +1127,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.agir.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = fr.gouv.beta.fnv.app.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; diff --git a/old/android/app/build.gradle b/old/android/app/build.gradle index 6d07114a..65148a38 100644 --- a/old/android/app/build.gradle +++ b/old/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - namespace "fr.gouv.beta.agir" + namespace "fr.gouv.beta.fnv.app" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion @@ -45,7 +45,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "fr.gouv.beta.agir" + applicationId "fr.gouv.beta.fnv.app" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdkVersion flutter.minSdkVersion diff --git a/old/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt b/old/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt index 7f2af9ba..54a24283 100644 --- a/old/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt +++ b/old/android/app/src/main/kotlin/com/example/mobile/MainActivity.kt @@ -1,4 +1,4 @@ -package fr.gouv.beta.agir +package fr.gouv.beta.fnv.app import io.flutter.embedding.android.FlutterActivity