|How do I test my privileged app if first it needs approval through Firefox OS Marketplace?||Michael Bishop||6/25/13 1:35 PM|
The problem I'm running into is that for my app to be allowed to use the "systemXHR" permission, it first needs to be "approved by the Firefox OS Marketplace using a special process". I'm assuming I can't be approved until my app is finished, but how can I finish my app without being able to use the "systemXHR" permission?
There's a chicken and egg problem which I don't know how to solve.
Any ideas? Am I missing something?
|Re: How do I test my privileged app if first it needs approval through Firefox OS Marketplace?||ma...@lonelyvegan.com||6/25/13 3:09 PM|
Unfortunately the documentation you read was a bit misleading: you can test your privileged apps using the Firefox OS Simulator. It's available as a Firefox Addon: https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
You can add your packaged app's manifest file to the simulator and test it there. If you have a device, plug it in via USB and you can push your packaged app to your device from the Simulator Dashboard.
Ping me (tofu...@mozilla.com) if you have further questions. In the future, you might prefer the https://lists.mozilla.org/listinfo/dev-webapps for these kinds of questions, as this list is aimed toward web apis and not building web apps.
|Re: How do I test my privileged app if first it needs approval through Firefox OS Marketplace?||mbi...@hitpointstudios.com||6/25/13 6:55 PM|
Perfect response. I will use webapps in the future. Thank you for your help!
|Re: How do I test my privileged app if first it needs approval through Firefox OS Marketplace?||Jeremie Patonnier||6/26/13 2:17 AM|
For such question, I think you'll find better answers on the dev-b2g
However, it's possible to test privileged API by using the Firefox OS
If a specific API is not available within the simulator (there is still
work to do to have all of them available), the simulator also allows you to
push any App you made directly to any Firefox OS device:
An app push to a device that way can have access to privileged API if you
have declared your app as such within its manifest (with the "type" value).
2013/6/25 Michael Bishop <mbi...@hitpointstudios.com>
> dev-webapi mailing list
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>
|Re: How do I test my privileged app if first it needs approval through Firefox OS Marketplace?||Mar||7/11/13 1:37 AM|
I read this mail today an I tried to test my privileged app using the
Firefox OS Simulator and it report me the following error.
Validation Result: INVALID(1 errors and 0 warnings)
Hosted App can't be type 'privileged'.
What can I do to solve it?
I need to use ContactsAPI, then I need a privileged type app. And I
don't have any idea about how can I test it.
Thanks in advance