Questions
Location is not turned on after allowing the location permission
10 months ago by ESLAM
Hi all,
I've developed a progressive web app using Oracle APEX framework. I tried to convert it into .APK. The app has a button to prompt user to allow access to device location. When clicking the button, the prompt pops up but when the user clicks "allow while using the app", the location button is not turned on!
When testing on median, I noticed that the location is already on when the app starts. But if you turned it off, and try to prompt the user to allow the location permission, the location does not get turned on again.
My buton uses median.android.geoLocation.promptLocationServices();.
Is there another API to turn on the location?