<preference name="permissions" value="none" />
Luego agregamos los plugins que necesitamos, compilamos y listo PhoneGap Build agrega los permisos necesarios de manera automática.
Si no, lo podemos agregrar manual:
<feature name="http://api.phonegap.com/1.0/network" />
<feature name="http://api.phonegap.com/1.0/camera" />
<feature name="http://api.phonegap.com/1.0/notification" />
<feature name="http://api.phonegap.com/1.0/geolocation" />
<feature name="http://api.phonegap.com/1.0/media" />
<feature name="http://api.phonegap.com/1.0/contacts" />
<feature name="http://api.phonegap.com/1.0/file" />
<feature name="http://api.phonegap.com/1.0/battery" />
<feature name="http://api.phonegap.com/1.0/device" />
Ayudas:
http://docs.build.phonegap.com/en_US/2.9.0/configuring_features.md.html#Features
http://docs.build.phonegap.com/en_US/configuring_features.md.html#Features
No hay comentarios.:
Publicar un comentario