Hello all,
I hope someone here has an experience converting a PWA into APK.
I've developed a progressive web app (PWA) using Oracle APEX 23.2. The app has a button to ask users to allow location access through navigator.geolocation api. It works fine when running in a browser or when installing the app through the “install app” button APEX provides for PWA.
I needed to convert that app into .apk to be able to upload it to google's play store. I used medin.co - an online framework that uses bubblewrap to convert the app into .apk.
The app is converted successfully to .apk but the problem is that navigator.geolocation api cannot access the native mobile functions. Median.co provides a javascript library that enable users to access native functions. But unfortunately, I face problem with it and it does not work as expected for me.
So, I am asking if there's any better way, maybe from Oracle or elsewhere to convert my PWA into .APK and be able to access native android mobile functions like prompting user to allow location access and turn the location on. This is my basic problem right now, “prompting user to allow location access and turn the location on”.
P.S: I contacted median.co but found no solution.
Thanks in advance