It could be a bug with the permission level. Try to replace the
permission for contacts with:
"contacts":{ "access": "readwrite" },
As Rudy told you, note that, as privileged app, you can not inline
scripts or style. All your code must be in separated files.
On mar 16 jul 2013 05:47:26 CEST, [email protected] wrote:
i'm not getting any errors.. i placed some console.log statements in the code.. the log which is
below the "person.givenName = ["John"]; " is not getting printed and this is
my manifest.webapp file content
{
"version": "0.1",
"name": "Demo Webapp",
"description": "Nothing",
"launch_path": "/index.html",
"type": "privileged",
"icons": {
"128": "images/image.jpg"
},
"developer": {
"name": "Rishi"
},
"permissions": {
"desktop-notification": {
"description" : "To show notifications"
},
"alarms" : {
"description" : "hello"
},
"fmradio" : {},
"contacts": {
"description": "Required for autocompletion in the share screen",
"access": "createonly"
},
"device-storage:sdcard" : {
"access" : "readwrite"
},
"geolocation": {
"description" : "Marking out user location"
}
},
"default_locale": "en"
}
is it required to add anything other than these to make that code work??
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
nuestra política de envío y recepción de correo electrónico en el enlace
situado más abajo.
This message is intended exclusively for its addressee. We only send and
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g