StoreRules

规则 · Preview: Understanding foreground service and full-screen intent requirements · Android 14 全屏意图要求

What is a foreground service permission and does it need to be granted by the user before starting a foreground service?

通俗解读

以Android 14为目标的应用若使用前台服务,必须声明与该特定服务类型相匹配的前台服务权限;这些权限在安装时授予,用户无法撤销。

  • 例如:“位置”前台服务类型需要声明FOREGROUND_SERVICE_LOCATION权限。
  • 特定类型的前台服务权限属于普通权限,在安装时默认授予。
  • 用户无法撤销这些权限。

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

官方原文摘录

When apps that target Android 14 use a foreground service, developers must declare the appropriate foreground service permission for that specific foreground service type. For example, if your app uses the "location" foreground service type, you will need to declare the FOREGROUNDSERVICELOCATION permission. Foreground …

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

变更历史

自 StoreRules 开始跟踪以来没有实质性变化。

首次出现: 2026-10-26

开发者关于此条款的案例

暂无案例。

分享你的案例