How to update android manifest.xml file through config.xml?


#1

<widget
xmlns="http://www.w3.org/ns/widgets"
xmlns:gap="http://phonegap.com/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
id="com.example.hello"
version=“1.0.1”


#2

hi @IoniUser, have you been lucky getting an answer ? I am looking for the same information…


#3

Hi @celiostat, you can try this two link.It didn’t work for me properly.might for you it will work.
http://docs.phonegap.com/en/3.3.0/plugin_ref_spec.md.html#Plugin%20Specification_config_file_element
http://book.famousmobileapps.com/full_app/configxml.html
If it’s work for you just let me know.I will try to find my mistakes. :smile:


#4

hi and thanks @IoniUser, could not have it implemented properly on config.xml, so I used the Android manifest instead, and works fine, though not the best solution as if there is an update in the system, I will have to rewrite the settings…


#5

Ioniuser: mistakes 1: this is for phonegap 2: that’s for plugins