Skip to content

Anomalous Permission Usage (for RECORD_AUDIO permission)Β #397

@TheNotorius0

Description

@TheNotorius0

Feature Request

Since I don't use this plugin to record audio, but only to play music / sounds (as probably many other developers do too), it would be nice if there was a way to NOT include the RECORD_AUDIO permission (both for Android and iOS). Also, for some categories of apps, Google apparently doesn't like this RECORD_AUDIO permission.

Motivation Behind Feature

Useful if you don't need to use the record feature. Also resolves this problem with Google:

anomalous-permission-usage

Feature Description

I don't know how exactly it could be done without a fork, but maybe just add a variable to NOT include the RECORD_AUDIO permission? Like --NO-RECORD_AUDIO. Actually, there is also the MODIFY_AUDIO_SETTINGS permission, I think it could be removed too if you only want to play music (I'm not 100% sure though)

Alternatives or Workarounds

If anyone have any idea on how to remove this permission (or maybe there is already a feature like this and I haven't founded it), let me know πŸ˜„

In the meantime, I have created a fork that I will keep synced with the main plugin, but without the extra permissions: https://github.com/TheNotorius0/cordova-plugin-media

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions