livekit / client-sdk-react-native

Official React Native SDK for LiveKit.
https://livekit.io
Apache License 2.0
121 stars 32 forks source link

FOREGROUND_SERVICE_MEDIA_PROJECTION being added to the app #171

Closed radko93 closed 2 months ago

radko93 commented 2 months ago

Describe the bug

With 2.4.0 FOREGROUND_SERVICE_MEDIA_PROJECTION permission is being added even if the app does not implement it. This is problematic because Google requires all use of Foreground service to only be declared when actually in use. This has to be proven with a video.

It's possible to workaround this by adding this line to AndroidManifest of the app but it's not ideal: <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove" />

Google Play Console screenshot: image

davidliu commented 2 months ago

Agh, didn't realize it'd be an issue on the Google Play side, I'll remove.

davidliu commented 2 months ago

2.4.1 is released with this fix.