-
Notifications
You must be signed in to change notification settings - Fork 0
Harden debug data source controls and localization #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ enum AppLanguage: String, CaseIterable, Identifiable { | |
| case .simplifiedChinese: | ||
| return "简体中文" | ||
| case .traditionalChineseHongKong: | ||
| return "繁體中文(香港)" | ||
| return "繁體中文(港澳)" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With this option now labelled Useful? React with 👍 / 👎. |
||
| case .traditionalChineseTaiwan: | ||
| return "繁體中文(台灣)" | ||
| case .english: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a build/config that sets
GDEIDefaultNetworkEnvironment=stagingwith runtime debug options disabled (for exampleConfigs/Staging.xcconfigsets staging andGDEI_ALLOW_RUNTIME_DEBUG_OPTIONS = NO),AppRouterpasses that selected environment intoAppEnvironment, but this ternary replaces every disallowed-debug environment with.prod. That makes staging builds call production APIs instead of the configured staging base URL; mock data should be forced off without discarding the build-selected network environment.Useful? React with 👍 / 👎.