The CSP is quite restrictive eh. This will definitely make it more
difficult to port apps that require plugins that make the app "privileged".
No way around this it seems.

I would add a short summary + link to the CSP in the quirks section for all
of the plugins that will turn the application into a privileged app.


On Wed, Nov 27, 2013 at 9:41 AM, Lorin Beer <lorin.beer....@gmail.com>wrote:

> traditionally, we have had a per platform quirks section in the relevant
> api's documentation.
>
> Search for quirks in the contacts
> api<
> http://cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html#Contacts
> >
> and
> you should find sections for Android, BlackBerry, iOS and WP 7 and 8.
>
> Just add a FireFox OS section, and document quirks there.
>
>
>
>
> On Wed, Nov 27, 2013 at 9:11 AM, Piotr Zalewa <pzal...@mozilla.com> wrote:
>
> > Hi,
> >
> > I've almost finished the Contacts proxy for Firefox OS. [1]
> >
> > Access to contacts API in FxOS requires webapp to be "privileged" and
> > special permissions needs to be set in app's manifest.
> > The privileged app enforces Content Security Policy [2] which doesn't
> > allow for inline javascript.
> >
> > Because of both above special documentation is needed. Where should I put
> > it?
> >
> > Thanks
> > Piotr
> >
> >
> > [1] https://github.com/zalun/cordova-plugin-contacts
> > [2] https://developer.mozilla.org/en-US/Apps/CSP
> >
>

Reply via email to