WeChat small program development, Android mobile getLocation is much slower than iPhone.

Article From:https://segmentfault.com/q/1010000010086054

Question:

Recently in the development of a small program mall, the need to obtain latitude and longitude, through the inverse analysis interface to obtain geographical location, accurate to the county.But in the development process, we found that when calling the getLocation interface,Android The location in the upper left corner of the mobile phone takes 5-10 seconds to complete the location.iPhone The mobile phone, half a second – one second can complete the positioning