Removing mms permission

i’m using cordova-plugin-sms to read activation code from sms. and i do not need mms at all.
the plugin adds all sms related permissions by default. i removed send and write permissions from the plugin.xml file . but i can not find where it adds “android.permission.RECEIVE_MMS” to remove it. i do not need this so i do not want to get unnecessary permissions.

i just do not know why my questions never receive answer. anyways…
to remove unneeded permissions you need to go to edit this file


on line 30 you will find the config-file tag and you can remove the permissions you won’t need from there

and then remove and re add your platform. for example:

cordova platform remove android
cordova platform add android