Open pajowu opened 2 years ago
If we go for 1., I assume it would also work in most other Android browsers with the blink engine.
To add to the list, I think it won't work in any iOS browser (since all iOS browsers use Safari's rendering engine) and I know it doesn't work in Firefox on Android.
I also assume it won't work on any macOS device, or in Firefox on any OS.
I'm not sure if there are e.g. Windows tablets that'd also support the flashlight (possibly in Chrome, but probably not in Firefox).
the "torch" can only be activated on certain devices. we should only show the button on those.
I see three options:
torch: true
Known working:
Known non-working: