From 694884f8c4a487ec1736f448bb74431ac6b95c0e Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 3 Jul 2025 23:04:47 +0200 Subject: [PATCH] Refacto source code following package name change --- .../communiquons}/moneymgr_mobile/MainActivity.kt | 2 +- moneymgr_mobile/ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ moneymgr_mobile/linux/CMakeLists.txt | 2 +- .../macos/Runner.xcodeproj/project.pbxproj | 6 +++--- .../macos/Runner/Configs/AppInfo.xcconfig | 4 ++-- moneymgr_mobile/windows/runner/Runner.rc | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) rename moneymgr_mobile/android/app/src/main/kotlin/{com/example => org/communiquons}/moneymgr_mobile/MainActivity.kt (69%) diff --git a/moneymgr_mobile/android/app/src/main/kotlin/com/example/moneymgr_mobile/MainActivity.kt b/moneymgr_mobile/android/app/src/main/kotlin/org/communiquons/moneymgr_mobile/MainActivity.kt similarity index 69% rename from moneymgr_mobile/android/app/src/main/kotlin/com/example/moneymgr_mobile/MainActivity.kt rename to moneymgr_mobile/android/app/src/main/kotlin/org/communiquons/moneymgr_mobile/MainActivity.kt index 2467ba3..7ff56a3 100644 --- a/moneymgr_mobile/android/app/src/main/kotlin/com/example/moneymgr_mobile/MainActivity.kt +++ b/moneymgr_mobile/android/app/src/main/kotlin/org/communiquons/moneymgr_mobile/MainActivity.kt @@ -1,4 +1,4 @@ -package com.example.moneymgr_mobile +package org.communiquons.moneymgr_mobile import io.flutter.embedding.android.FlutterActivity diff --git a/moneymgr_mobile/ios/Runner.xcodeproj/project.pbxproj b/moneymgr_mobile/ios/Runner.xcodeproj/project.pbxproj index ed6fb9b..abbff86 100644 --- a/moneymgr_mobile/ios/Runner.xcodeproj/project.pbxproj +++ b/moneymgr_mobile/ios/Runner.xcodeproj/project.pbxproj @@ -368,7 +368,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.moneymgrMobile; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile; 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.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.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.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.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.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.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.moneymgrMobile; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile; 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.moneymgrMobile; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/moneymgr_mobile/linux/CMakeLists.txt b/moneymgr_mobile/linux/CMakeLists.txt index 038d0f5..7dc4478 100644 --- a/moneymgr_mobile/linux/CMakeLists.txt +++ b/moneymgr_mobile/linux/CMakeLists.txt @@ -7,7 +7,7 @@ project(runner LANGUAGES CXX) set(BINARY_NAME "moneymgr_mobile") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.moneymgr_mobile") +set(APPLICATION_ID "org.communiquons.moneymgr_mobile") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/moneymgr_mobile/macos/Runner.xcodeproj/project.pbxproj b/moneymgr_mobile/macos/Runner.xcodeproj/project.pbxproj index f3587a8..1b55bc3 100644 --- a/moneymgr_mobile/macos/Runner.xcodeproj/project.pbxproj +++ b/moneymgr_mobile/macos/Runner.xcodeproj/project.pbxproj @@ -385,7 +385,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/moneymgr_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/moneymgr_mobile"; @@ -399,7 +399,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/moneymgr_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/moneymgr_mobile"; @@ -413,7 +413,7 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.moneymgrMobile.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/moneymgr_mobile.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/moneymgr_mobile"; diff --git a/moneymgr_mobile/macos/Runner/Configs/AppInfo.xcconfig b/moneymgr_mobile/macos/Runner/Configs/AppInfo.xcconfig index 53fe27e..b233161 100644 --- a/moneymgr_mobile/macos/Runner/Configs/AppInfo.xcconfig +++ b/moneymgr_mobile/macos/Runner/Configs/AppInfo.xcconfig @@ -8,7 +8,7 @@ PRODUCT_NAME = moneymgr_mobile // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.moneymgrMobile +PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile // The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved. +PRODUCT_COPYRIGHT = Copyright © 2025 Pierre HUBERT All rights reserved. diff --git a/moneymgr_mobile/windows/runner/Runner.rc b/moneymgr_mobile/windows/runner/Runner.rc index e2e38da..e711e3f 100644 --- a/moneymgr_mobile/windows/runner/Runner.rc +++ b/moneymgr_mobile/windows/runner/Runner.rc @@ -89,11 +89,11 @@ BEGIN BEGIN BLOCK "040904e4" BEGIN - VALUE "CompanyName", "com.example" "\0" + VALUE "CompanyName", "org.communiquons" "\0" VALUE "FileDescription", "moneymgr_mobile" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "InternalName", "moneymgr_mobile" "\0" - VALUE "LegalCopyright", "Copyright (C) 2025 com.example. All rights reserved." "\0" + VALUE "LegalCopyright", "Copyright (C) 2025 Pierre HUBERT. All rights reserved." "\0" VALUE "OriginalFilename", "moneymgr_mobile.exe" "\0" VALUE "ProductName", "moneymgr_mobile" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0"