diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/app/build.gradle | 4 | ||||
| -rw-r--r-- | android/app/src/twa/AndroidManifest.xml | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle index cab8b07..381e277 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -29,8 +29,8 @@ android { applicationId 'io.coinos.app' minSdk 24 targetSdk 35 - versionCode 13 - versionName '1.12' + versionCode 14 + versionName '1.13' } // Two builds of the same wallet. // diff --git a/android/app/src/twa/AndroidManifest.xml b/android/app/src/twa/AndroidManifest.xml index 5e840ef..0a6c3bb 100644 --- a/android/app/src/twa/AndroidManifest.xml +++ b/android/app/src/twa/AndroidManifest.xml @@ -20,6 +20,16 @@ white. Light follows the page background, dark the PWA's theme_color, so the bar icons keep their contrast either way. The navigation bar is left to the browser (LauncherActivity). --> + <!-- Sticky immersive: the status and navigation bars are hidden, and a + swipe in from an edge shows them for a moment. The page then never + needs the browser's own full screen — whose "To exit full screen, + drag from the top…" notice Chrome shows every time a page enters + it, and a page can't turn off — to fill the screen with a clip. + (A Custom Tab's window is the browser's: the page can't switch + this on and off itself, so it's the whole app.) --> + <meta-data + android:name="android.support.customtabs.trusted.DISPLAY_MODE" + android:value="sticky-immersive" /> <meta-data android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR" android:resource="@color/statusBarColor" /> |
