From 9217cb11fb3775c5b6383e23d954df29ac072a68 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Sat, 5 Oct 2024 19:54:27 +0600 Subject: [PATCH 01/15] chore: Update all dependencies --- ios/Runner/AppDelegate.swift | 2 +- lib/presentation/app.dart | 2 +- lib/presentation/routes/router.dart | 2 +- pubspec.yaml | 44 ++++++++++++++--------------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 9074fee..6266644 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import Flutter import UIKit -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/lib/presentation/app.dart b/lib/presentation/app.dart index 1b6f5c1..f977125 100644 --- a/lib/presentation/app.dart +++ b/lib/presentation/app.dart @@ -18,7 +18,7 @@ class App extends StatelessWidget { darkTheme: AppTheme.fromBrightness(Brightness.dark), // TODO: Set to [ThemeMode.light] if your app only supports light mode themeMode: ThemeMode.system, - title: 'Project Name', + title: 'Application Name', builder: (c, widget) { if (widget == null) { return const SizedBox(); diff --git a/lib/presentation/routes/router.dart b/lib/presentation/routes/router.dart index a040b5c..15a0e41 100644 --- a/lib/presentation/routes/router.dart +++ b/lib/presentation/routes/router.dart @@ -7,7 +7,7 @@ import 'package:flutter_template/presentation/routes/router.gr.dart'; /// for example, Bottom navigation child views, tab views, etc. /// @AutoRouterConfig() -class AppRouter extends $AppRouter { +class AppRouter extends RootStackRouter { @override RouteType get defaultRouteType => const RouteType.material(); diff --git a/pubspec.yaml b/pubspec.yaml index f2c35e2..2c62574 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.0.0 + sdk: ^3.5.1 dependencies: flutter: @@ -31,47 +31,47 @@ dependencies: ref: v0.5.1 # UI - cupertino_icons: ^1.0.6 + cupertino_icons: ^1.0.8 flutter_svg: ^2.0.9 flutter_sticky_header: ^0.6.5 auto_size_text: ^3.0.0 theme_tailor_annotation: ^3.0.1 # Data - dio: ^5.4.0 - freezed_annotation: ^2.4.1 - json_annotation: ^4.8.1 - retrofit: ^4.0.3 + dio: ^5.7.0 + freezed_annotation: ^2.4.4 + json_annotation: ^4.9.0 + retrofit: ^4.4.1 # Utility - device_info_plus: ^9.1.1 - package_info_plus: ^5.0.1 + device_info_plus: ^10.1.2 + package_info_plus: ^8.0.2 # Persistence - flutter_secure_storage: ^9.0.0 - shared_preferences: ^2.2.2 + flutter_secure_storage: ^9.2.2 + shared_preferences: ^2.3.2 # Architecture - get_it: ^7.6.6 - injectable: ^2.3.2 - auto_route: ^7.8.4 - flutter_bloc: ^8.1.3 + get_it: ^8.0.0 + injectable: ^2.5.0 + auto_route: ^9.2.2 + flutter_bloc: ^8.1.6 dev_dependencies: flutter_test: sdk: flutter - build_runner: ^2.4.7 + build_runner: ^2.4.13 theme_tailor: ^3.0.1 - freezed: ^2.4.6 - json_serializable: ^6.7.1 - injectable_generator: ^2.4.1 - auto_route_generator: ^7.3.2 - retrofit_generator: ^8.0.6 - monstarlab_lints: ^1.0.2 + freezed: ^2.5.7 + json_serializable: ^6.8.0 + injectable_generator: ^2.6.2 + auto_route_generator: ^9.0.0 + retrofit_generator: ^9.1.2 + monstarlab_lints: ^1.0.4 # Simplified work with assets - flutter_gen_runner: ^5.4.0 + flutter_gen_runner: ^5.7.0 flutter_gen: integrations: From 55a7dffdc2e828bb3091d0d867a83434548a5588 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Sat, 5 Oct 2024 20:41:01 +0600 Subject: [PATCH 02/15] chore: Delete release run config for Android Studio --- .run/Development Release.run.xml | 8 -------- .run/Staging Release.run.xml | 8 -------- 2 files changed, 16 deletions(-) delete mode 100644 .run/Development Release.run.xml delete mode 100644 .run/Staging Release.run.xml diff --git a/.run/Development Release.run.xml b/.run/Development Release.run.xml deleted file mode 100644 index 4c505c0..0000000 --- a/.run/Development Release.run.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/.run/Staging Release.run.xml b/.run/Staging Release.run.xml deleted file mode 100644 index e4c17dd..0000000 --- a/.run/Staging Release.run.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file From 2c30d348dd00bd9578de61f8e4f48833ce1a3126 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 8 Oct 2024 12:58:38 +0600 Subject: [PATCH 03/15] nit --- .metadata | 12 ++++++------ android/.gitignore | 2 +- android/app/build.gradle | 28 ++++------------------------ android/build.gradle | 4 +--- android/gradle.properties | 2 +- 5 files changed, 13 insertions(+), 35 deletions(-) diff --git a/.metadata b/.metadata index 1038231..c689480 100644 --- a/.metadata +++ b/.metadata @@ -4,7 +4,7 @@ # This file should be version controlled and should not be manually edited. version: - revision: "5dcb86f68f239346676ceb1ed1ea385bd215fba1" + revision: "2663184aa79047d0a33a14a3b607954f8fdd8730" channel: "stable" project_type: app @@ -13,11 +13,11 @@ project_type: app migration: platforms: - platform: root - create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 - base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 - - platform: ios - create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 - base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: android + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 # User provided section diff --git a/android/.gitignore b/android/.gitignore index 6f56801..55afd91 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -7,7 +7,7 @@ gradle-wrapper.jar GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +# See https://flutter.dev/to/reference-keystore key.properties **/*.keystore **/*.jks diff --git a/android/app/build.gradle b/android/app/build.gradle index 2ea5713..20c053a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -4,28 +4,8 @@ plugins { // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" } - -def localProperties = new Properties() -def localPropertiesFile = rootProject.file("local.properties") -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader("UTF-8") { reader -> - localProperties.load(reader) - } -} - -def flutterVersionCode = localProperties.getProperty("flutter.versionCode") -if (flutterVersionCode == null) { - flutterVersionCode = "1" -} - -def flutterVersionName = localProperties.getProperty("flutter.versionName") -if (flutterVersionName == null) { - flutterVersionName = "1.0" -} - - // TODO: Change the appName, it will be used as app label -def appName = "Flutter Template" +def appName = "Application Name" // TODO: Change the applicationId for production // On staging it will add .staging and on development it will add .development as suffix. @@ -49,11 +29,11 @@ android { defaultConfig { applicationId = "$applicationId" // 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. + // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion - versionCode = flutterVersionCode.toInteger() - versionName = flutterVersionName + versionCode = flutter.versionCode + versionName = flutter.versionName } buildTypes { diff --git a/android/build.gradle b/android/build.gradle index bc95f5a..361d70f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,9 +5,7 @@ allprojects { } } -rootProject.buildDir = '../build' - - +rootProject.buildDir = "../build" // [NStack] the namespace property is null within // the android block of the build.gradle file for the nstack sdk. // Additionally, the Kotlin Gradle plugin is using a very old version there. diff --git a/android/gradle.properties b/android/gradle.properties index 3b5b324..2597170 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,3 @@ -org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError +org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true From 9a8a8724d2566bab7e2f411e3bd15919299f6aba Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 8 Oct 2024 13:17:27 +0600 Subject: [PATCH 04/15] nit --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 2c62574..8145331 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.1 + sdk: ^3.0.0 dependencies: flutter: From 76f73cca4d4fe85956dd3b4bfe2d026949944b93 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 8 Oct 2024 13:22:52 +0600 Subject: [PATCH 05/15] nit --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 8145331..f7a8e66 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,7 +44,7 @@ dependencies: retrofit: ^4.4.1 # Utility - device_info_plus: ^10.1.2 + device_info_plus: ^9.1.1 package_info_plus: ^8.0.2 # Persistence From caf6b86ace19e9af966e342578b442d2193fdf0c Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Sat, 12 Oct 2024 04:14:37 +0600 Subject: [PATCH 06/15] nit --- pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index f7a8e66..6e5bd90 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,8 +44,8 @@ dependencies: retrofit: ^4.4.1 # Utility - device_info_plus: ^9.1.1 - package_info_plus: ^8.0.2 + device_info_plus: ^11.0.0 + package_info_plus: ^8.0.3 # Persistence flutter_secure_storage: ^9.2.2 From 596b1c9e40a161d25a224af6095dd2b244885d5c Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 18:13:40 +0600 Subject: [PATCH 07/15] chore: Updated pull request validation step --- .github/workflows/pull_request_validation.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index d7ed896..4795978 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -20,8 +20,6 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - cache: true - cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} - name: 📦 Install Dependencies run: flutter pub get @@ -32,9 +30,6 @@ jobs: - name: 🕵️ Analyze Code run: flutter analyze lib test - - name: ✨ Check Formatting - run: dart format --line-length 80 --set-exit-if-changed lib test - - name: 🏗️ Build APK (Production Flavor) run: flutter build apk --release --flavor production -t lib/main_production.dart From 55a0df67eca844606dfe280d63e7eba25e33d641 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 18:31:45 +0600 Subject: [PATCH 08/15] nit --- .github/workflows/pull_request_validation.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index 4795978..9545c96 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -21,6 +21,9 @@ jobs: with: channel: 'stable' + - name: 🛎️ Checking Flutter Version + run: flutter --version + - name: 📦 Install Dependencies run: flutter pub get From 4ecc8055e5029a13feeec7dae2e2815e7a8cb5b1 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 19:20:16 +0600 Subject: [PATCH 09/15] nit --- android/settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/settings.gradle b/android/settings.gradle index 536165d..ea7f114 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -18,7 +18,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.3.0" apply false + id "com.android.application" version '7.4.2' apply false id "org.jetbrains.kotlin.android" version "1.7.10" apply false } From 599a99be9d9bb31579c5387bb6c859d1c3a805ab Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 22:02:15 +0600 Subject: [PATCH 10/15] nit --- android/app/build.gradle | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 20c053a..6c77ae4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -11,11 +11,18 @@ def appName = "Application Name" // On staging it will add .staging and on development it will add .development as suffix. def applicationId = "com.example.flutter_template" +ext { + androidMinSdkVersion = 21 + androidCompileSdkVersion = 34 + androidTargetSdkVersion = 34 + androidNdkVersion = "23.1.7779620" +} + android { namespace = "$applicationId" - compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion + compileSdk = androidCompileSdkVersion + ndkVersion = "23.1.7779620" compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 @@ -30,8 +37,8 @@ android { applicationId = "$applicationId" // 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 - targetSdk = flutter.targetSdkVersion + minSdk = androidMinSdkVersion + targetSdk = androidTargetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } From 69cc5ec3b5b6d360e0c07c50a3b99cd0ca21e2da Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 22:10:08 +0600 Subject: [PATCH 11/15] nit --- pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 6e5bd90..e49a473 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,8 +44,8 @@ dependencies: retrofit: ^4.4.1 # Utility - device_info_plus: ^11.0.0 - package_info_plus: ^8.0.3 + device_info_plus: 9.1.2 + package_info_plus: 8.0.3 # Persistence flutter_secure_storage: ^9.2.2 From 6737d8f62e17f32c912aee1ca2b9406a3e701ceb Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 22:24:20 +0600 Subject: [PATCH 12/15] nit --- .github/workflows/pull_request_validation.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index 9545c96..2c8e223 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -16,6 +16,11 @@ jobs: - name: 📚 Git Checkout uses: actions/checkout@v4 + - name: ♨️ Setup Java + uses: actions/setup-java@v1 + with: + java-version: '12.x' + - name: 🐦 Setup Flutter uses: subosito/flutter-action@v2 with: From c181914504587cdd21787e4c2490f7761448aeab Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 22:35:18 +0600 Subject: [PATCH 13/15] nit --- .github/workflows/pull_request_validation.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index 2c8e223..7359bc7 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -17,9 +17,10 @@ jobs: uses: actions/checkout@v4 - name: ♨️ Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '12.x' + java-version: '17' + distribution: 'temurin' - name: 🐦 Setup Flutter uses: subosito/flutter-action@v2 From b52092a76b156a5518b9bd15439cf2430104a7f0 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 22:46:55 +0600 Subject: [PATCH 14/15] chore: Updated dependencies --- pubspec.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index e49a473..19d424b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,8 +32,8 @@ dependencies: # UI cupertino_icons: ^1.0.8 - flutter_svg: ^2.0.9 - flutter_sticky_header: ^0.6.5 + flutter_svg: ^2.0.9 # Change this with caution + flutter_sticky_header: ^0.7.0 auto_size_text: ^3.0.0 theme_tailor_annotation: ^3.0.1 @@ -44,8 +44,8 @@ dependencies: retrofit: ^4.4.1 # Utility - device_info_plus: 9.1.2 - package_info_plus: 8.0.3 + device_info_plus: 11.0.0 + package_info_plus: ^8.0.3 # Persistence flutter_secure_storage: ^9.2.2 @@ -67,11 +67,11 @@ dev_dependencies: json_serializable: ^6.8.0 injectable_generator: ^2.6.2 auto_route_generator: ^9.0.0 - retrofit_generator: ^9.1.2 + retrofit_generator: ^9.1.3 monstarlab_lints: ^1.0.4 # Simplified work with assets - flutter_gen_runner: ^5.7.0 + flutter_gen_runner: ^5.8.0 flutter_gen: integrations: From dc6fb6971360d74035b26b93774b98bf13c890c5 Mon Sep 17 00:00:00 2001 From: Utpal Barman Date: Tue, 15 Oct 2024 23:31:16 +0600 Subject: [PATCH 15/15] nit --- .github/workflows/pull_request_validation.yml | 2 ++ android/app/build.gradle | 14 ++++---- .../flutter}/MainActivity.kt | 2 +- ios/Runner.xcodeproj/project.pbxproj | 36 +++++++++---------- lib/presentation/app.dart | 3 +- 5 files changed, 29 insertions(+), 28 deletions(-) rename android/app/src/main/kotlin/com/{example/flutter_template => monstarlab/flutter}/MainActivity.kt (71%) diff --git a/.github/workflows/pull_request_validation.yml b/.github/workflows/pull_request_validation.yml index 7359bc7..39fca36 100644 --- a/.github/workflows/pull_request_validation.yml +++ b/.github/workflows/pull_request_validation.yml @@ -26,6 +26,8 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' + cache: true + cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} - name: 🛎️ Checking Flutter Version run: flutter --version diff --git a/android/app/build.gradle b/android/app/build.gradle index 6c77ae4..82f1dca 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -5,24 +5,22 @@ plugins { id "dev.flutter.flutter-gradle-plugin" } // TODO: Change the appName, it will be used as app label -def appName = "Application Name" +def appName = "Monstarlab Flutter Template" // TODO: Change the applicationId for production // On staging it will add .staging and on development it will add .development as suffix. -def applicationId = "com.example.flutter_template" +def applicationId = "com.monstarlab.flutter" ext { androidMinSdkVersion = 21 - androidCompileSdkVersion = 34 - androidTargetSdkVersion = 34 - androidNdkVersion = "23.1.7779620" + androidCompileAndTargetSdkVersion = 34 } android { namespace = "$applicationId" - compileSdk = androidCompileSdkVersion - ndkVersion = "23.1.7779620" + compileSdk = androidCompileAndTargetSdkVersion + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 @@ -38,7 +36,7 @@ android { // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = androidMinSdkVersion - targetSdk = androidTargetSdkVersion + targetSdk = androidCompileAndTargetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } diff --git a/android/app/src/main/kotlin/com/example/flutter_template/MainActivity.kt b/android/app/src/main/kotlin/com/monstarlab/flutter/MainActivity.kt similarity index 71% rename from android/app/src/main/kotlin/com/example/flutter_template/MainActivity.kt rename to android/app/src/main/kotlin/com/monstarlab/flutter/MainActivity.kt index 20abea6..3c5f278 100644 --- a/android/app/src/main/kotlin/com/example/flutter_template/MainActivity.kt +++ b/android/app/src/main/kotlin/com/monstarlab/flutter/MainActivity.kt @@ -1,4 +1,4 @@ -package com.example.flutter_template +package com.monstarlab.flutter import io.flutter.embedding.android.FlutterActivity diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b010ad0..566ba09 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -368,7 +368,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[DEV] Application Name"; + APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -378,7 +378,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -497,7 +497,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[DEV] Application Name"; + APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -507,7 +507,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -520,7 +520,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[DEV] Application Name"; + APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -530,7 +530,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -597,7 +597,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[STG] Application Name"; + APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -607,7 +607,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -672,7 +672,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[STG] Application Name"; + APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -682,7 +682,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -744,7 +744,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "[STG] Application Name"; + APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -754,7 +754,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -821,7 +821,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "Application Name"; + APP_DISPLAY_NAME = "Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -831,7 +831,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -896,7 +896,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "Application Name"; + APP_DISPLAY_NAME = "Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -906,7 +906,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; @@ -968,7 +968,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - APP_DISPLAY_NAME = "Application Name"; + APP_DISPLAY_NAME = "Monstarlab Flutter Template"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; @@ -978,7 +978,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate; + PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; diff --git a/lib/presentation/app.dart b/lib/presentation/app.dart index f977125..127774d 100644 --- a/lib/presentation/app.dart +++ b/lib/presentation/app.dart @@ -18,7 +18,8 @@ class App extends StatelessWidget { darkTheme: AppTheme.fromBrightness(Brightness.dark), // TODO: Set to [ThemeMode.light] if your app only supports light mode themeMode: ThemeMode.system, - title: 'Application Name', + // TODO: Change Project Name Here + title: 'Monstarlab Flutter Template', builder: (c, widget) { if (widget == null) { return const SizedBox();