Skip to content

Using the library pulls in automatically android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION permission #56

Description

@chr4ss12

I added the library to my project, and I did NOT add

"android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" permission, however when I went to submit my app to Play Store, it required me to explain for what I am using this permission for.

Upon investigating a bit, I think the culprit is file node_modules/@daily-co/react-native-webrtc/android/src/main/AndroidManifest.xml

that has

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />

added to it.

I do not exactly understand how the playstore permission detection or Android manifests work, but regardless I've had to change my own Androidmanifest to get rid of this:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions