XML : config.xml vs AndroidManifest.xml?

In Cordova/Android, what's the difference between:

  1. /appname/config.xml
  2. /appname/platforms/android/AndroidManifest.xml

Which one do I edit, or do I edit them both?

I'm looking to do things such as:

  1. force portrait mode (I found this setting in config.xml)
  2. specify minimum sdk supported for android. (I found this setting in AndroidManifest.xml)

No comments:

Post a Comment