Recent projects to access Baidu positioning, strange found on the Millet note model whenever the second time into the app will appear the location request popup box,
The location request Popup will not be expected on models such as Xiaomi 3. "Trying to locate your phone over a network or satellite".
affect the user experience.
Initially mistaken for the location request popup in the app because it triggered the location, but after careful inspection, it was discovered that the actual location request was not actually triggered.
Finally, by comparing with other apps, we find that the location accuracy is different.
Finally, the location permissions in the project are determined by the
<android:name= "Android.permission.ACCESS_FINE_LOCATION"/>
Switch
<android:name= "Android.permission.ACCESS_COARSE_LOCATION"/>
This issue is resolved.
Android Promotion series: Position request frame due to location permission on Xiaomi note and other models