livekit / client-sdk-react-native

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

feat: allow users to use screensharing without manual setup #166

Closed davidliu closed 3 months ago

davidliu commented 3 months ago

Note: This adds the FOREGROUND_SERVICE and FOREGROUND_SERVICE_MEDIA_PROJECTION permissions.

These are required for screensharing. If this functionality is not needed, you can remove the permissions by using `tools:node="remove" in your AndroidManifest.xml:

<manifest>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove" />
    ...

https://developer.android.com/build/manage-manifests#merge_rule_markers