ternandsparrow / wild-orchid-watch-pwa

Progressive Web App for the Wild Orchid Watch citizen science project
https://app.wildorchidwatch.org
4 stars 4 forks source link

TypeError: fullscreen error #29

Open tomsaleeba opened 4 years ago

tomsaleeba commented 4 years ago

Device: Samsung SM-A205YN on Android 10 Browser: Samsung Internet 12.1 Release: c122f64.20200818-163452

There's no stack, just the following error message caught in the onunhandledrejection handler: TypeError: fullscreen error.

According to the MDN doco there is an API to request fullscreen but we don't use that in our code. It must be a browser feature or userland script.

Looking at the Sentry breadcrumbs, we can see the user presses some fullscreen button (which is not in our code): image ...then the error takes a little while to happen: image

With a brief search, I've seen the advice:

But if you change the tab or exit the fullscreen, then in Chrome its not allowed to go into fullscreen without user interaction.

Before I can do anything, I need to be able to reproduce this.

tomsaleeba commented 4 years ago

This is the fullscreen button in the Google Maps plugin that we use.

Just tested on Chrome 84 on Android and didn't receive an error. Samsung Internet 12.1 on the same device also didn't have an error, but that wasn't running in PWA mode.