From 770cc488acf89f5cffa9a02fdb9755956f0551e2 Mon Sep 17 00:00:00 2001
From: doodlezucc <electerminator@gmail.com>
Date: Tue, 21 Nov 2023 14:48:00 +0100
Subject: [PATCH] update package name

---
 android/app/build.gradle                             |  4 ++--
 .../better_untis/MainActivity.kt                     |  2 +-
 ios/Runner.xcodeproj/project.pbxproj                 | 12 ++++++------
 linux/CMakeLists.txt                                 |  2 +-
 macos/Runner.xcodeproj/project.pbxproj               |  6 +++---
 macos/Runner/Configs/AppInfo.xcconfig                |  4 ++--
 windows/runner/Runner.rc                             |  4 ++--
 7 files changed, 17 insertions(+), 17 deletions(-)
 rename android/app/src/main/kotlin/com/{example => doodlezucc}/better_untis/MainActivity.kt (72%)

diff --git a/android/app/build.gradle b/android/app/build.gradle
index dd4c8c9..245b62f 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -23,7 +23,7 @@ if (flutterVersionName == null) {
 }
 
 android {
-    namespace "com.example.better_untis"
+    namespace "com.doodlezucc.better_untis"
     compileSdkVersion flutter.compileSdkVersion
     ndkVersion flutter.ndkVersion
 
@@ -42,7 +42,7 @@ android {
 
     defaultConfig {
         // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
-        applicationId "com.example.better_untis"
+        applicationId "com.doodlezucc.better_untis"
         // 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/android/app/src/main/kotlin/com/example/better_untis/MainActivity.kt b/android/app/src/main/kotlin/com/doodlezucc/better_untis/MainActivity.kt
similarity index 72%
rename from android/app/src/main/kotlin/com/example/better_untis/MainActivity.kt
rename to android/app/src/main/kotlin/com/doodlezucc/better_untis/MainActivity.kt
index f69766c..880c148 100644
--- a/android/app/src/main/kotlin/com/example/better_untis/MainActivity.kt
+++ b/android/app/src/main/kotlin/com/doodlezucc/better_untis/MainActivity.kt
@@ -1,4 +1,4 @@
-package com.example.better_untis
+package com.doodlezucc.better_untis
 
 import io.flutter.embedding.android.FlutterActivity
 
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index 67601f1..509be75 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -367,7 +367,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis;
 				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.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.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 = com.example.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.RunnerTests;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 5.0;
 				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -418,7 +418,7 @@
 				CURRENT_PROJECT_VERSION = 1;
 				GENERATE_INFOPLIST_FILE = YES;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.RunnerTests;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 5.0;
 				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -545,7 +545,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -567,7 +567,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
 				SWIFT_VERSION = 5.0;
diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt
index 5dde7eb..f9cb06b 100644
--- a/linux/CMakeLists.txt
+++ b/linux/CMakeLists.txt
@@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
 set(BINARY_NAME "Better Untis")
 # The unique GTK application identifier for this application. See:
 # https://wiki.gnome.org/HowDoI/ChooseApplicationID
-set(APPLICATION_ID "com.example.better_untis")
+set(APPLICATION_ID "com.doodlezucc.better_untis")
 
 # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
 # versions of CMake.
diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj
index ad3c7d0..c62f8a2 100644
--- a/macos/Runner.xcodeproj/project.pbxproj
+++ b/macos/Runner.xcodeproj/project.pbxproj
@@ -384,7 +384,7 @@
 				CURRENT_PROJECT_VERSION = 1;
 				GENERATE_INFOPLIST_FILE = YES;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.RunnerTests;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 5.0;
 				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/better_untis.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/better_untis";
@@ -398,7 +398,7 @@
 				CURRENT_PROJECT_VERSION = 1;
 				GENERATE_INFOPLIST_FILE = YES;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.RunnerTests;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 5.0;
 				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/better_untis.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/better_untis";
@@ -412,7 +412,7 @@
 				CURRENT_PROJECT_VERSION = 1;
 				GENERATE_INFOPLIST_FILE = YES;
 				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis.RunnerTests;
+				PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis.RunnerTests;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SWIFT_VERSION = 5.0;
 				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/better_untis.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/better_untis";
diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig
index 4261d89..4b8398b 100644
--- a/macos/Runner/Configs/AppInfo.xcconfig
+++ b/macos/Runner/Configs/AppInfo.xcconfig
@@ -8,7 +8,7 @@
 PRODUCT_NAME = Better Untis
 
 // The application's bundle identifier
-PRODUCT_BUNDLE_IDENTIFIER = com.example.betterUntis
+PRODUCT_BUNDLE_IDENTIFIER = com.doodlezucc.betterUntis
 
 // The copyright displayed in application information
-PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved.
+PRODUCT_COPYRIGHT = Copyright © 2023 doodlezucc. All rights reserved.
diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc
index 9f1239e..99f0efb 100644
--- a/windows/runner/Runner.rc
+++ b/windows/runner/Runner.rc
@@ -89,11 +89,11 @@ BEGIN
     BEGIN
         BLOCK "040904e4"
         BEGIN
-            VALUE "CompanyName", "com.example" "\0"
+            VALUE "CompanyName", "com.doodlezucc" "\0"
             VALUE "FileDescription", "Better Untis" "\0"
             VALUE "FileVersion", VERSION_AS_STRING "\0"
             VALUE "InternalName", "better_untis" "\0"
-            VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0"
+            VALUE "LegalCopyright", "Copyright (C) 2023 com.doodlezucc. All rights reserved." "\0"
             VALUE "OriginalFilename", "BetterUntis.exe" "\0"
             VALUE "ProductName", "Better Untis" "\0"
             VALUE "ProductVersion", VERSION_AS_STRING "\0"
-- 
GitLab