aboutsummaryrefslogtreecommitdiffstats
path: root/android/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-06 21:10:39 -0700
committerAdam Soltys <[email protected]>2026-09-06 21:10:39 -0700
commit050c944036c32200618f78f1924c81b8c881bb91 (patch)
tree4c62fe25aa5ef4e89d8b57fd89c2e5d61f389378 /android/app/src/main/AndroidManifest.xml
parent3d9faca20b7375e949546ac6b701307d4f7795ac (diff)
downloadcoinosv3-050c944036c32200618f78f1924c81b8c881bb91.tar.gz
coinosv3-050c944036c32200618f78f1924c81b8c881bb91.zip
Android APK: fix the white status bar (TWA had no system-bar color set).
androidbrowserhelper defaults the TWA status/navigation bars to white when no color is declared — the PWA doesn't hit this because it uses the manifest theme_color. Added STATUS_BAR_COLOR / NAVIGATION_BAR_COLOR meta-data (light + dark variants) pointing at new color resources set to the PWA's theme_color #15171a, so the top bar matches the dark app chrome. Bumped to versionCode 6 / versionName 1.5 and rebuilt static/coinos.apk (meta-data verified present via aapt). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
-rw-r--r--android/app/src/main/AndroidManifest.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 4eb96a7..e2f4e16 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -21,6 +21,21 @@
<meta-data
android:name="android.support.customtabs.trusted.DEFAULT_URL"
android:value="https://v3.coinos.io/" />
+ <!-- System-bar colors: without these the TWA status bar defaults to
+ white. Match the PWA's dark theme_color (#15171a). Light + dark
+ variants both dark so it's consistent whatever the system theme. -->
+ <meta-data
+ android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR"
+ android:resource="@color/statusBarColor" />
+ <meta-data
+ android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR_DARK"
+ android:resource="@color/statusBarColor" />
+ <meta-data
+ android:name="android.support.customtabs.trusted.NAVIGATION_BAR_COLOR"
+ android:resource="@color/navigationBarColor" />
+ <meta-data
+ android:name="android.support.customtabs.trusted.NAVIGATION_BAR_COLOR_DARK"
+ android:resource="@color/navigationBarColor" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />