After enabling the media plug-in in cordova to play MP3 files as sound effects in the Android app, the following permissions are automatically set when you build them (not added to AndroidManifest.xml in the project).
I just want to play MP3, so I don't need the above permissions, but how do I disable all of them (no settings)?
If anyone knows, could you please let me know?
The cordova version is 4.1.0.
android monaca cordova mp3
Unfortunately, if you use cordova-plugin-media
, it will be difficult to disable all plug-ins because they support multi-functionality.
It's not a direct answer, but you might want to try a different plug-in.Plug-ins can also be found on the Cordova plug-in page.
Also, if you want to know in advance what permissions your plug-in is looking for, you can find out by looking at the uses-permission
in the published source code plugin.xml
.
For your information, I have included the cordova-plugin-media
link, but as mentioned in the question, it seems that the plug-in requires permission to record, change audio settings, write, and load terminal states.
For more information: cordova-plugin-media/plugin.xml
© 2024 OneMinuteCode. All rights reserved.