refactor: update app name to Conti-Retail-App across multiple files
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# conti-retail-app
|
# conti-retail-app
|
||||||
|
|
||||||
大陆马门店 App。Flutter + Melos 单仓多包。
|
Conti-Retail-App。Flutter + Melos 单仓多包。
|
||||||
|
|
||||||
架构约束全部来自相邻仓库 `conti-docs/` 的 01–14 号文档。**本仓库对这些文档的
|
架构约束全部来自相邻仓库 `conti-docs/` 的 01–14 号文档。**本仓库对这些文档的
|
||||||
偏离,逐条记在 [SCAFFOLD-NOTES.md](SCAFFOLD-NOTES.md)**——那份文件是回写文档的
|
偏离,逐条记在 [SCAFFOLD-NOTES.md](SCAFFOLD-NOTES.md)**——那份文件是回写文档的
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ android {
|
|||||||
// 1. 用 applicationIdSuffix 而不是覆盖 applicationId——后者一改,Firebase /
|
// 1. 用 applicationIdSuffix 而不是覆盖 applicationId——后者一改,Firebase /
|
||||||
// 推送 / 应用市场的包名对应关系全部要重配一遍;
|
// 推送 / 应用市场的包名对应关系全部要重配一遍;
|
||||||
// 2. app_name 走 resValue,让三个环境在桌面上一眼能分清。装了三个图标都叫
|
// 2. app_name 走 resValue,让三个环境在桌面上一眼能分清。装了三个图标都叫
|
||||||
// "大陆马门店"的时候,测试提的 bug 会有一半定位不到环境;
|
// "Conti-Retail-App" 的时候,测试提的 bug 会有一半定位不到环境;
|
||||||
// 3. prod 没有后缀,就是正式包名。
|
// 3. prod 没有后缀,就是正式包名。
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
flavorDimensions += "env"
|
flavorDimensions += "env"
|
||||||
@@ -44,16 +44,16 @@ android {
|
|||||||
create("dev") {
|
create("dev") {
|
||||||
dimension = "env"
|
dimension = "env"
|
||||||
applicationIdSuffix = ".dev"
|
applicationIdSuffix = ".dev"
|
||||||
resValue("string", "app_name", "马店(开发)")
|
resValue("string", "app_name", "Conti-Retail-App (Dev)")
|
||||||
}
|
}
|
||||||
create("uat") {
|
create("uat") {
|
||||||
dimension = "env"
|
dimension = "env"
|
||||||
applicationIdSuffix = ".uat"
|
applicationIdSuffix = ".uat"
|
||||||
resValue("string", "app_name", "马店(测试)")
|
resValue("string", "app_name", "Conti-Retail-App (UAT)")
|
||||||
}
|
}
|
||||||
create("prod") {
|
create("prod") {
|
||||||
dimension = "env"
|
dimension = "env"
|
||||||
resValue("string", "app_name", "大陆马门店")
|
resValue("string", "app_name", "Conti-Retail-App")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
||||||
|
|
||||||
BUNDLE_ID_SUFFIX=.dev
|
BUNDLE_ID_SUFFIX=.dev
|
||||||
APP_DISPLAY_NAME=马店(开发)
|
APP_DISPLAY_NAME=Conti-Retail-App (Dev)
|
||||||
|
|
||||||
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
||||||
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
||||||
|
|
||||||
BUNDLE_ID_SUFFIX=
|
BUNDLE_ID_SUFFIX=
|
||||||
APP_DISPLAY_NAME=大陆马门店
|
APP_DISPLAY_NAME=Conti-Retail-App
|
||||||
|
|
||||||
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
||||||
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
// 这里只放**环境差异**,公共配置留在 Generated.xcconfig / Debug.xcconfig。
|
||||||
|
|
||||||
BUNDLE_ID_SUFFIX=.uat
|
BUNDLE_ID_SUFFIX=.uat
|
||||||
APP_DISPLAY_NAME=马店(测试)
|
APP_DISPLAY_NAME=Conti-Retail-App (UAT)
|
||||||
|
|
||||||
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
// 包名不覆盖、只加后缀——和 Android 的 applicationIdSuffix 保持同一套规则。
|
||||||
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
PRODUCT_BUNDLE_IDENTIFIER=com.conti.retail$(BUNDLE_ID_SUFFIX)
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ abstract class AppLocalizations {
|
|||||||
/// App 名称。目前只有这一条——其余文案等 16-i18n.md 定了方案再统一迁入。
|
/// App 名称。目前只有这一条——其余文案等 16-i18n.md 定了方案再统一迁入。
|
||||||
///
|
///
|
||||||
/// In zh, this message translates to:
|
/// In zh, this message translates to:
|
||||||
/// **'大陆马门店'**
|
/// **'Conti-Retail-App'**
|
||||||
String get appTitle;
|
String get appTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,5 +9,5 @@ class AppLocalizationsZh extends AppLocalizations {
|
|||||||
AppLocalizationsZh([String locale = 'zh']) : super(locale);
|
AppLocalizationsZh([String locale = 'zh']) : super(locale);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get appTitle => '大陆马门店';
|
String get appTitle => 'Conti-Retail-App';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"@@locale": "zh",
|
"@@locale": "zh",
|
||||||
"appTitle": "大陆马门店",
|
"appTitle": "Conti-Retail-App",
|
||||||
"@appTitle": {
|
"@appTitle": {
|
||||||
"description": "App 名称。目前只有这一条——其余文案等 16-i18n.md 定了方案再统一迁入。"
|
"description": "App 名称。目前只有这一条——其余文案等 16-i18n.md 定了方案再统一迁入。"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class ContiApp extends ConsumerWidget {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return MaterialApp.router(
|
return MaterialApp.router(
|
||||||
title: '大陆马门店',
|
title: 'Conti-Retail-App',
|
||||||
theme: AppTheme.light,
|
theme: AppTheme.light,
|
||||||
darkTheme: AppTheme.dark,
|
darkTheme: AppTheme.dark,
|
||||||
routerConfig: router,
|
routerConfig: router,
|
||||||
|
|||||||
+8
-8
@@ -552,10 +552,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: meta
|
name: meta
|
||||||
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
|
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.18.0"
|
version: "1.17.0"
|
||||||
mime:
|
mime:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -973,26 +973,26 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: test
|
name: test
|
||||||
sha256: "8d9ceddbab833f180fbefed08afa76d7c03513dfdba87ffcec2718b02bbcbf20"
|
sha256: "280d6d890011ca966ad08df7e8a4ddfab0fb3aa49f96ed6de56e3521347a9ae7"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.31.0"
|
version: "1.30.0"
|
||||||
test_api:
|
test_api:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: test_api
|
name: test_api
|
||||||
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
|
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.7.11"
|
version: "0.7.10"
|
||||||
test_core:
|
test_core:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: test_core
|
name: test_core
|
||||||
sha256: "1991d4cfe85d5043241acac92962c3977c8d2f2add1ee73130c7b286417d1d34"
|
sha256: "0381bd1585d1a924763c308100f2138205252fb90c9d4eeaf28489ee65ccde51"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.17"
|
version: "0.6.16"
|
||||||
typed_data:
|
typed_data:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user