Formatting problem config.xml

I am trying to prevent an android application from asking for a lot of errors, and I am developing using phonegap. I asked a question here:

http://community.phonegap.com/nitobi/topics/change_android_permissions_none_required

I was given advice to add this line to the config.xml file:

<preference name="permissions" value="none"/> 

I did this, but the application still asks for 7 permissions during installation. The following is the config.xml file:

 <?xml version="1.0" encoding="UTF-8"?> <widget xmlns = "" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.sapps.reftorange" version = "1.0.0"> <name>Test</name> <gap:platforms> <gap:platform name="android" minVersion="1.0" /> </gap:platforms> <icon src="icon.png" gap:role="default" /> <preference name="permissions" value="none"/> </widget> 

Is there something that I'm missing, or do you think my problem lies somewhere else?

EDIT: second line now reads

  <widget xmlns = "http://www.w3.org/ns/widgets" 

Now the application requests 3 permissions, these are phone calls, network and storage. I would suggest that

  <preference name="permissions" value="none"/> 
Tag

does not actually delete all permission requests.

+4
source share
1 answer

By changing the above line, although downloading from the phone book and installing still asks for 3 permissions, downloading to the Android market and then downloading to the device only asks for the Internet, which was the target. Turns out guys guys got it right! Hope this helps anyone in my situation.

0
source

All Articles