Skip to content
Advertisement

Full Screen on Android Chrome showing white band on Notch Area

The javascript code that I’m using, to fullscreen my web app,

JavaScript

Usually, I’m getting a black background on the top-notch area on every page I’ve tried to implement this through console, but on my webapp, I’m getting a white background.

I’ve tried adding

JavaScript

Although, this is no success at all. I’m using WebRTC in my project, I don’t think, this is an issue, but just adding incase.

Advertisement

Answer

All it needed was to add

JavaScript

as the params for the fullscreen request. And I was so dumbfounded by this answer.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement