Example Implementation (Manifest)
通俗解读
如果您的应用仅通过位置按钮获取精确位置,则必须在 AndroidManifest.xml 中声明带有 onlyForLocationButton 标志的 ACCESS_FINE_LOCATION。
- 在 android.permission.ACCESS_FINE_LOCATION 的 uses-permission 条目上使用 android:usesPermissionFlags=“onlyForLocationButton” 属性。
- 该声明适用于仅通过按钮需要精确位置的情况。
- 技术细节请参阅 API 文档。
官方原文摘录
If your app only requires precise location via the button, you must declare it in your AndroidManifest.xml using the onlyForLocationButton attribute: XML | <uses-permission android:name="android.permission.ACCESSFINELOCATION" android:usesPermissionFlags="onlyForLocationButton" / | For technical details, please consult …
阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规
变更历史
自 StoreRules 开始跟踪以来没有实质性变化。
开发者关于此条款的案例
暂无案例。