Skip to content

Commit dc6fb69

Browse files
committed
nit
1 parent b52092a commit dc6fb69

File tree

5 files changed

+29
-28
lines changed

5 files changed

+29
-28
lines changed

.github/workflows/pull_request_validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: subosito/flutter-action@v2
2727
with:
2828
channel: 'stable'
29+
cache: true
30+
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
2931

3032
- name: 🛎️ Checking Flutter Version
3133
run: flutter --version

android/app/build.gradle

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,22 @@ plugins {
55
id "dev.flutter.flutter-gradle-plugin"
66
}
77
// TODO: Change the appName, it will be used as app label
8-
def appName = "Application Name"
8+
def appName = "Monstarlab Flutter Template"
99

1010
// TODO: Change the applicationId for production
1111
// On staging it will add .staging and on development it will add .development as suffix.
12-
def applicationId = "com.example.flutter_template"
12+
def applicationId = "com.monstarlab.flutter"
1313

1414
ext {
1515
androidMinSdkVersion = 21
16-
androidCompileSdkVersion = 34
17-
androidTargetSdkVersion = 34
18-
androidNdkVersion = "23.1.7779620"
16+
androidCompileAndTargetSdkVersion = 34
1917
}
2018

2119

2220
android {
2321
namespace = "$applicationId"
24-
compileSdk = androidCompileSdkVersion
25-
ndkVersion = "23.1.7779620"
22+
compileSdk = androidCompileAndTargetSdkVersion
23+
ndkVersion = flutter.ndkVersion
2624

2725
compileOptions {
2826
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -38,7 +36,7 @@ android {
3836
// You can update the following values to match your application needs.
3937
// For more information, see: https://flutter.dev/to/review-gradle-config.
4038
minSdk = androidMinSdkVersion
41-
targetSdk = androidTargetSdkVersion
39+
targetSdk = androidCompileAndTargetSdkVersion
4240
versionCode = flutter.versionCode
4341
versionName = flutter.versionName
4442
}

android/app/src/main/kotlin/com/example/flutter_template/MainActivity.kt renamed to android/app/src/main/kotlin/com/monstarlab/flutter/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.flutter_template
1+
package com.monstarlab.flutter
22

33
import io.flutter.embedding.android.FlutterActivity
44

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
isa = XCBuildConfiguration;
369369
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
370370
buildSettings = {
371-
APP_DISPLAY_NAME = "[DEV] Application Name";
371+
APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template";
372372
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
373373
CLANG_ENABLE_MODULES = YES;
374374
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -378,7 +378,7 @@
378378
"$(inherited)",
379379
"@executable_path/Frameworks",
380380
);
381-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development;
381+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development;
382382
PRODUCT_NAME = "$(TARGET_NAME)";
383383
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
384384
SWIFT_VERSION = 5.0;
@@ -497,7 +497,7 @@
497497
isa = XCBuildConfiguration;
498498
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
499499
buildSettings = {
500-
APP_DISPLAY_NAME = "[DEV] Application Name";
500+
APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template";
501501
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
502502
CLANG_ENABLE_MODULES = YES;
503503
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -507,7 +507,7 @@
507507
"$(inherited)",
508508
"@executable_path/Frameworks",
509509
);
510-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development;
510+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development;
511511
PRODUCT_NAME = "$(TARGET_NAME)";
512512
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
513513
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -520,7 +520,7 @@
520520
isa = XCBuildConfiguration;
521521
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
522522
buildSettings = {
523-
APP_DISPLAY_NAME = "[DEV] Application Name";
523+
APP_DISPLAY_NAME = "[DEV] Monstarlab Flutter Template";
524524
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
525525
CLANG_ENABLE_MODULES = YES;
526526
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -530,7 +530,7 @@
530530
"$(inherited)",
531531
"@executable_path/Frameworks",
532532
);
533-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.development;
533+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.development;
534534
PRODUCT_NAME = "$(TARGET_NAME)";
535535
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
536536
SWIFT_VERSION = 5.0;
@@ -597,7 +597,7 @@
597597
isa = XCBuildConfiguration;
598598
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
599599
buildSettings = {
600-
APP_DISPLAY_NAME = "[STG] Application Name";
600+
APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template";
601601
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
602602
CLANG_ENABLE_MODULES = YES;
603603
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -607,7 +607,7 @@
607607
"$(inherited)",
608608
"@executable_path/Frameworks",
609609
);
610-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging;
610+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging;
611611
PRODUCT_NAME = "$(TARGET_NAME)";
612612
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
613613
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -672,7 +672,7 @@
672672
isa = XCBuildConfiguration;
673673
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
674674
buildSettings = {
675-
APP_DISPLAY_NAME = "[STG] Application Name";
675+
APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template";
676676
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
677677
CLANG_ENABLE_MODULES = YES;
678678
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -682,7 +682,7 @@
682682
"$(inherited)",
683683
"@executable_path/Frameworks",
684684
);
685-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging;
685+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging;
686686
PRODUCT_NAME = "$(TARGET_NAME)";
687687
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
688688
SWIFT_VERSION = 5.0;
@@ -744,7 +744,7 @@
744744
isa = XCBuildConfiguration;
745745
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
746746
buildSettings = {
747-
APP_DISPLAY_NAME = "[STG] Application Name";
747+
APP_DISPLAY_NAME = "[STG] Monstarlab Flutter Template";
748748
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
749749
CLANG_ENABLE_MODULES = YES;
750750
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -754,7 +754,7 @@
754754
"$(inherited)",
755755
"@executable_path/Frameworks",
756756
);
757-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate.staging;
757+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter.staging;
758758
PRODUCT_NAME = "$(TARGET_NAME)";
759759
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
760760
SWIFT_VERSION = 5.0;
@@ -821,7 +821,7 @@
821821
isa = XCBuildConfiguration;
822822
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
823823
buildSettings = {
824-
APP_DISPLAY_NAME = "Application Name";
824+
APP_DISPLAY_NAME = "Monstarlab Flutter Template";
825825
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
826826
CLANG_ENABLE_MODULES = YES;
827827
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -831,7 +831,7 @@
831831
"$(inherited)",
832832
"@executable_path/Frameworks",
833833
);
834-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate;
834+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter;
835835
PRODUCT_NAME = "$(TARGET_NAME)";
836836
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
837837
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -896,7 +896,7 @@
896896
isa = XCBuildConfiguration;
897897
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
898898
buildSettings = {
899-
APP_DISPLAY_NAME = "Application Name";
899+
APP_DISPLAY_NAME = "Monstarlab Flutter Template";
900900
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
901901
CLANG_ENABLE_MODULES = YES;
902902
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -906,7 +906,7 @@
906906
"$(inherited)",
907907
"@executable_path/Frameworks",
908908
);
909-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate;
909+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter;
910910
PRODUCT_NAME = "$(TARGET_NAME)";
911911
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
912912
SWIFT_VERSION = 5.0;
@@ -968,7 +968,7 @@
968968
isa = XCBuildConfiguration;
969969
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
970970
buildSettings = {
971-
APP_DISPLAY_NAME = "Application Name";
971+
APP_DISPLAY_NAME = "Monstarlab Flutter Template";
972972
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
973973
CLANG_ENABLE_MODULES = YES;
974974
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -978,7 +978,7 @@
978978
"$(inherited)",
979979
"@executable_path/Frameworks",
980980
);
981-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterTemplate;
981+
PRODUCT_BUNDLE_IDENTIFIER = com.monstarlab.flutter;
982982
PRODUCT_NAME = "$(TARGET_NAME)";
983983
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
984984
SWIFT_VERSION = 5.0;

lib/presentation/app.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class App extends StatelessWidget {
1818
darkTheme: AppTheme.fromBrightness(Brightness.dark),
1919
// TODO: Set to [ThemeMode.light] if your app only supports light mode
2020
themeMode: ThemeMode.system,
21-
title: 'Application Name',
21+
// TODO: Change Project Name Here
22+
title: 'Monstarlab Flutter Template',
2223
builder: (c, widget) {
2324
if (widget == null) {
2425
return const SizedBox();

0 commit comments

Comments
 (0)