Appconf Sets the App Name
-
Status: Approved (2026-09-22) by: @clsource
Problem
The installed/launcher app name is hardcoded ("Jasonelle") in the Xcode and
Android projects. The appconf tool patches only the application identifier
(app_id). It should also set the app name from the merged config.jsonc via
a new app_name key, on both platforms.
Decision
-
App name comes from
app_namein the mergedconfig.jsonc. It is optional: empty or missing means onlyapp_idis patched, so existing configs keep working. -
iOS uses
INFOPLIST_KEY_CFBundleDisplayName(shown under the icon) added to the Application target’s Debug and Release build blocks only.PRODUCT_NAME = "$(TARGET_NAME)"is left untouched so the bundle staysApplication.appand the testTEST_HOSTpaths keep working. -
Android uses
android:labelinAndroidManifest.xml(the launcher name). -
Both patches are idempotent and follow the existing strictness: unexpected marker counts fail rather than guess.
Changes
tools/appconf/src/main.go
-
Read
app_namebesideapp_id. -
applyXcodeDisplayName: anchor on the Application bundle-id line (PRODUCT_BUNDLE_IDENTIFIER = <app_id>;, the empty-suffix one, exactly 2 occurrences), then per block: no-op if"<app_name>"is already set, replace another value, else insert the line after the bundle-id line. -
applyAndroidLabel:android:label="…"must appear exactly once; replace its value (no-op if equal). -
New
--android-manifestflag defaulting tobuild/android/sources/Application/src/main/AndroidManifest.xml.