I did a small project just with a Webviewer, and in its properties I put the following:
- Enabled Javascript (true);
- Prompt for permission (true);
- Uses location (true);
My website allows you to upload files (images, pdfs) and also get the geo coordinates (geo location). Everything works perfectly through any browser.
But when I generate the apk, we have some problems:
if I enable geo-location permission, I can’t upload files, but if I disable this option (geo-location), I can upload files.
Is there any way to get the geolocation without disabling the ability to upload files?