What is changing for foreground services in Android 14?
通俗解读
对于 Android 14,应用必须声明前台服务类型及与之对应的前台服务权限,且前台服务的使用还必须符合设备和网络滥用政策。
- Android 14 引入了多种新的前台服务类型。
- 必须声明前台服务类型,并同时声明相应的前台服务权限。
- 例如,声明“camera”类型还需要声明 FOREGROUND_SERVICE_CAMERA 权限。
- 前台服务的使用还必须满足设备和网络滥用政策的其他要求。
官方原文摘录
We’re introducing several new foreground service types, and it will be mandatory to declare a foreground service type along with its appropriate foreground service permission. For example, if you’re declaring the "camera" foreground service type, you must also declare the FOREGROUNDSERVICECAMERA permission. Your …
阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规
开发者关于此条款的案例
暂无案例。