Closed tricki closed 5 years ago
Confirm. Removing the permission check for screenshot.URI() also works for me on: ✓ Android 8.1 (API Level 27) ✓ Android 5.1 (API Level 22) ✓ Android 4.4.4 (API Level 19)
which makes me assume it's fine to use.
@gitawego do you want me to send a PR?
yes please @mgrubinger
@tricki This is now merged into the main branch. @gitawego thanks for accepting the PR!
What is the reason that navigator.screenshot.URI() asks for the WRITE_EXTERNAL_STORAGE permission?
I'm not an Android expert but I just removed the permission check and it still works, without asking the for run-time permission.
So, at least on my phone with Android 6.0.1 it works without requesting the permission. Is it different in other versions?