moko-geo icon indicating copy to clipboard operation
moko-geo copied to clipboard

Android - add dialog to enable GPS

Open ln-12 opened this issue 4 years ago • 3 comments

I tested this library on Android. It works perfectly fine, if GPS is enabled. If not, nothing happens. The official docs state that an app should check the settings and prompt a system dialog to enable GPS. Would be nice to see this feature.

ln-12 avatar Jan 08 '21 09:01 ln-12

yes, it will be good improvement

Alex009 avatar Jan 10 '21 15:01 Alex009

Hey, I quickly created a pull request for the requested feature based on the code I already use in my app. Feel free to use it as a baseline for your implementation. At the moment, I have no option to run code on iOS, so I cannot provide an example for that.

ln-12 avatar Jan 11 '21 10:01 ln-12

thx! we pull it later

Alex009 avatar Jan 12 '21 16:01 Alex009