If you need access to FINE location, you must request both `ACCESS_FINE_LOCATION` and `ACCESS_COARSE_LOCATION`
时间: 2023-10-24 07:06:18 浏览: 308
获取地理位置
This statement is not entirely true. If your app only requires precise location information, then you only need to request the `ACCESS_FINE_LOCATION` permission. However, if your app can still function with less precise location information, then you can request the `ACCESS_COARSE_LOCATION` permission instead. It's important to request only the permissions that your app actually needs to function properly, as requesting unnecessary permissions can negatively impact user trust and privacy.
阅读全文