Can I change the color of the navigation bar in a progressive web app?
This question was asked in 2019 and the answer was that it wasn’t possible. I’m asking this question five years later to see if things have changed.
As you can see from the images below, for a “native” application like youtube the navigation bar is white, whereas in my application it’s black. This seems to be a the default behavior (I test my app with Pixel 9 device) and I would have liked to know if there was a way to influence it with a meta parameter in the html or perhaps by tinkering with a trick with some CSS/JS.
PS1: In my manifest.json file I use display: “standalone” because I want to keep the status bar, so I’m not considering switching to display: “fullscreen”.
PS2: I know this subject has been dealt with many times but the feeds are getting years and on this subject I think things are moving fast.