Le 13/05/2013 20:24, jose llopis a écrit :
> on simulator i use this code on my privileged app
>
> var contact = new mozContact();
> contact.init({name: "Tom"}); // Bug 723206
> var request = navigator.mozContacts.save(contact);
> request.onsuccess = function() {alert("success");};
> request.onerror = function() {alert("error")};
>
>
> And the manifest validation tells me this
> This app can't be installed on a production device (AppsUtils.checkManifest 
> return false).

> "launch_path": "http://localhost/appPruebaContactApi/"; 

your launch path must not be absolute.

see
https://mxr.mozilla.org/mozilla-central/source/dom/apps/src/AppsUtils.jsm#272
for all checks that are done.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to