Questions tagged [trusted-web-activity]

Trusted Web Activities are a new way to integrate your web-app content such as your PWA with your Android app using a protocol based on Custom Tabs.

200 questions
3
votes
1 answer

Checking standalone mode in Trusted Web Activity APP

I have a PWA application where I check whether the application is in standalone mode(code snippet below) else prompt user with the Install Banner. let windowNav: any = window.navigator; if (window.matchMedia('(display-mode:standalone)').matches…
Sampat
  • 1,301
  • 6
  • 20
  • 34
3
votes
2 answers

Cannot hide URL bar in TWA/PWA app in Android

I'm attempting to get my PWA app working using the Google TWA guide here: https://developers.google.com/web/updates/2019/02/using-twa I've followed the guide completely from start to finish multiple times, but can't seem to get it to hide the URL…
3
votes
1 answer

How to remove the bottom navigation bar in a TWA?

I have build a TWA as described at https://developers.google.com/web/updates/2019/02/using-twa I want to remove the bottom navigation bar. I have read that it can only be done programmatically with IMMERSIVE mode :…
JeffProd
  • 3,088
  • 1
  • 19
  • 38
3
votes
1 answer

Hide StatusBar in Trusted Web Activities

After following the Google Developers page about twa's and hiding the url bar I have now a working twa without url bar. But the StatusBar is still visible. Is it possible to hide the StatusBar in twa's to get a fullscreen view? AndroidManifest.xml…
3
votes
3 answers

Android Change StatusBarColor of Trusted Web Activity

I build based on this repository my first TWA / PWA App. Everything is working fine, but i can´t change the color of the statusbar. I modify this file and add this line in the