Sorry for the length of this. Please read on.
How can I configure phonegap's project files so that either
phonegap platform add
Below describes what I tried.
I'm using the latest Phonegap and I'm trying to use CLI (so, not Adobe's build service). I went through everything that I could find online (documentation, forums, here) trying to find at least some hints on how to control the build process, preferably via config (specifically for Android), so that files in
phonegap plugin remove [plugin name]
phonegap platform remove/add android
phonegap build android
aapt d permissions "platforms\android\build\outputs\apk\android-debug.apk"
Nevermind. I concluded that there probably isn't 100% support for generating configuration for individual platforms, and that each one of those need to be edited manually. In other words, it's likely that some parts of
/platforms/android/AndroidManifest.xml cannot be affected via
/config.xml (it's a shame that there's no documentation talking about this; only few guides with few specific examples). Sure, I am aware of existence of
hooks, but I'm not in the mood at the moment to start spending significant time to write code that would help me write code: I'll rather manually tweak
AndroidManifest.xml (or, whatever), version-control it, and be done with it.