From c524bfcacfac4279e645cb3fb2d415c9c9efdd57 Mon Sep 17 00:00:00 2001 From: Shubham Singh Date: Sun, 29 Sep 2024 23:35:53 +0530 Subject: [PATCH] Frontend: Update app name and bundle id for all platforms --- .github/workflows/publish_backend.yaml | 1 - frontend/android/app/build.gradle | 3 +-- frontend/android/app/src/main/AndroidManifest.xml | 2 +- frontend/ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ frontend/ios/Runner/Info.plist | 4 ++-- frontend/linux/CMakeLists.txt | 2 +- frontend/macos/Runner/Configs/AppInfo.xcconfig | 4 ++-- frontend/web/index.html | 2 +- frontend/windows/runner/Runner.rc | 2 +- frontend/windows/runner/main.cpp | 2 +- 10 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/publish_backend.yaml b/.github/workflows/publish_backend.yaml index 4769348..7ca0005 100644 --- a/.github/workflows/publish_backend.yaml +++ b/.github/workflows/publish_backend.yaml @@ -4,7 +4,6 @@ on: push: branches: - main - - dev paths: - '.github/workflows/publish_backend.yaml' - 'backend/**' diff --git a/frontend/android/app/build.gradle b/frontend/android/app/build.gradle index b885c94..feed5cc 100644 --- a/frontend/android/app/build.gradle +++ b/frontend/android/app/build.gradle @@ -20,8 +20,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.frontend" + applicationId "app.downtheaisle" // 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/frontend/android/app/src/main/AndroidManifest.xml b/frontend/android/app/src/main/AndroidManifest.xml index 8158006..ed471b2 100644 --- a/frontend/android/app/src/main/AndroidManifest.xml +++ b/frontend/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Frontend + Down The Aisle CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -15,7 +15,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - frontend + Down The Aisle CFBundlePackageType APPL CFBundleShortVersionString diff --git a/frontend/linux/CMakeLists.txt b/frontend/linux/CMakeLists.txt index f0bca49..8d2eb20 100644 --- a/frontend/linux/CMakeLists.txt +++ b/frontend/linux/CMakeLists.txt @@ -4,7 +4,7 @@ project(runner LANGUAGES CXX) # The name of the executable created for the application. Change this to change # the on-disk name of your application. -set(BINARY_NAME "frontend") +set(BINARY_NAME "Down The Aisle") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID set(APPLICATION_ID "com.example.frontend") diff --git a/frontend/macos/Runner/Configs/AppInfo.xcconfig b/frontend/macos/Runner/Configs/AppInfo.xcconfig index 9cc4ecf..135c6fc 100644 --- a/frontend/macos/Runner/Configs/AppInfo.xcconfig +++ b/frontend/macos/Runner/Configs/AppInfo.xcconfig @@ -5,10 +5,10 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = frontend +PRODUCT_NAME = Down The Aisle // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.frontend +PRODUCT_BUNDLE_IDENTIFIER = app.downtheaisle // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved. diff --git a/frontend/web/index.html b/frontend/web/index.html index f88db60..11362b2 100644 --- a/frontend/web/index.html +++ b/frontend/web/index.html @@ -29,7 +29,7 @@ - frontend + Down The Aisle diff --git a/frontend/windows/runner/Runner.rc b/frontend/windows/runner/Runner.rc index f105098..462fc08 100644 --- a/frontend/windows/runner/Runner.rc +++ b/frontend/windows/runner/Runner.rc @@ -92,7 +92,7 @@ BEGIN VALUE "CompanyName", "com.example" "\0" VALUE "FileDescription", "frontend" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "frontend" "\0" + VALUE "InternalName", "app.downtheaisle" "\0" VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0" VALUE "OriginalFilename", "frontend.exe" "\0" VALUE "ProductName", "frontend" "\0" diff --git a/frontend/windows/runner/main.cpp b/frontend/windows/runner/main.cpp index a9dd93d..2e19618 100644 --- a/frontend/windows/runner/main.cpp +++ b/frontend/windows/runner/main.cpp @@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, FlutterWindow window(project); Win32Window::Point origin(10, 10); Win32Window::Size size(1280, 720); - if (!window.Create(L"frontend", origin, size)) { + if (!window.Create(L"Down The Aisle", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);