Hi guys, i have an app for a client that allows the user to report their location back.
It does work, but i’ve noticed that sometimes the device reports location based on wifi or even the mobile carrier tower and that is not in any way accurate enough.
Is there a way to make sure that the user is using the right GPS settings? (meaning, they are using the GPS capabilities of the device, not just general location data. The app is for outdoor use so signal strength should be ok in most cases.)
You do it in the SettingsClient- this is the page in the API that you need. Check the UAS or the Unity page for creating Android plugins if you don’t already know how to handle it. I don’t know if any of the existing “Android Plugins” assets on the UAS handle this option specifically- if you don’t want to make it yourself you might reach out to one of the authors and ask if their asset either already handles that option, or can be updated to include it.
Good luck!
Oh no. So you can’t access it through Unity’s API? Dang it.
Thanks for the links.
In Unity 2017.3 p01 I noticed a tick box in the player settings saying “Low accuracy location”
and i was hoping that would be enough. I mean not ticking that, would make unity use high accuracy.
Logically the “Low accuracy location” checkbox does the job without any plugins. Can anyone confirm this with certainty?