Android Promotion series: Position request frame due to location permission on Xiaomi note and other models

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.