FOREGROUND_SERVICE_DATA_SYNC

Found a solution.

The Android Runtime Permissionsplugin (I think, there’s barely any documentation) generates ManifestRequirementsOverride.txt in <project_directory>/Build/Android.

You need to remove the line <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" __line="67" /> or similar.

Hope that helps!