StoreRules

规则 · 设备和网络滥用

Permissions for Foreground Services (FGS)

通俗解读

以 Android 14 及更高版本为目标平台的应用必须为每个前台服务指定有效的前台服务类型并声明匹配的权限,且仅可用于符合所列标准的使用场景。

  • 声明适合每种类型的前台服务权限,例如在清单中为地图地理定位声明 FOREGROUND_SERVICE_LOCATION。
  • 仅当使用场景使用户受益、属于应用核心功能,且由用户发起或可被用户察觉时,方可声明权限。
  • 该服务必须可由用户停止,仅运行必要的时间,且无法在不损害体验的情况下被系统中断或推迟。
  • 免受这些标准限制的情况:systemExempted 和 shortService 类型,以及仅在使用 Play Asset Delivery 时的 dataSync 类型。
  • 以 Android 14 及更高版本为目标平台:在 Play Console 中提交声明表单,说明每个 FGS 权限的使用场景并选择正确的类型;不得声明无效或不准确的类型。

摘要由 StoreRules 撰写,并与官方原文核对。

官方原文摘录

Policy Summary The Foreground Service permission policy ensures user transparency, privacy, and optimal device performance. For apps targeting Android 14+ you must declare valid Foreground Service (FGS) types in the manifest and Play Console, providing descriptions, user impact, and a demo video justifying their use …

阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规

开发者关于此条款的案例

暂无案例。

分享你的案例