Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anomalous Permission Usage (for RECORD_AUDIO permission) #397

Open
TheNotorius0 opened this issue Apr 15, 2024 · 0 comments
Open

Anomalous Permission Usage (for RECORD_AUDIO permission) #397

TheNotorius0 opened this issue Apr 15, 2024 · 0 comments

Comments

@TheNotorius0
Copy link

TheNotorius0 commented Apr 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant