Somehow in my app many of the cordova plugins are installed and because of that it requires access to almost everything - from my contacts to current location ( even though
From the terminal (osx) I usually use
cordova plugin -l | xargs cordova plugins rm
Pipe, pipe everything!
To expand a bit: this command will loop through the results of cordova plugin -l and feed it to cordova plugins rm.
xargs is one of those commands that you wonder why you didn't know about before. See this tut.
cordova platform rm android
cordova plugin rm cordova-plugin-firebase
cordova platform add android