Input.location GPS issue
Hello,
I am using Input.location to get longitude and latitude on Android devices. It perfectly works on a Galaxy S7 (Android 7.0) but not with OnePlus 6 (Android 8.1). They both had GPS enabled, same permissions, I try FINE_LOCATION and COARSE_LOCATION but it returns completly wrong longitude and latitude on the OnePlus 6 and the right coordinates on the Galaxy S7 (it's the same build/APK). It's it an Android issue ? Am I missing a permission ? I don't know where to look anymore..
Thanks
Answer by DVFrance · Jun 20, 2018 at 07:39 AM
I MayIAsk, I had the same problem some years ago on iOS.
I just WaitEndOfFrame() after launching my Geoloc.
I think it may take a frame more to be more accurate.
Hope it help.
Unfortunately, it doesn't worked. LocationService is sending me the same thing other and other again. 520km wrong.. Anyone have any idea?
Your answer
Follow this Question
Related Questions
Location Services not starting when system GPS is enabled. 0 Answers
Trying to Build GPS Tracking Based App, Help 0 Answers
How to get device location in double insead of float 0 Answers
Does Unity use the READ_PHONE_STATE permission to access getLine1Number? 0 Answers
Manifest Merge Problem 1 Answer