What is a foreground service permission and does it need to be granted by the user before starting a foreground service?
わかりやすく
Android 14をターゲットとし、フォアグラウンドサービスを使用するアプリは、そのサービスタイプに対応するフォアグラウンドサービスの権限を宣言しなければなりません。これらの権限はインストール時に付与され、ユーザーは取り消せません。
- 例:「location」フォアグラウンドサービスタイプでは、FOREGROUND_SERVICE_LOCATION権限を宣言する必要があります。
- タイプ別のフォアグラウンドサービス権限は通常の権限であり、インストール時にデフォルトで付与されます。
- ユーザーはこれらの権限を取り消せません。
公式テキストより
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 が追跡を始めてから実質的な変更はありません。
この条項に関する開発者の事例
まだ事例はありません。