docs added
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/df08a04f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/df08a04f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/df08a04f Branch: refs/heads/master Commit: df08a04ff585a48413ac84eb2c6512098064beea Parents: 3670b19 Author: Piotr Zalewa <[email protected]> Authored: Thu Nov 28 14:42:50 2013 +0100 Committer: Piotr Zalewa <[email protected]> Committed: Thu Nov 28 14:42:50 2013 +0100 ---------------------------------------------------------------------- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/df08a04f/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 22112eb..2c42361 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,12 @@ cordova-plugin-contacts To install this plugin, follow the [Command-line Interface Guide](http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface). If you are not using the Cordova Command-line Interface, follow [Using Plugman to Manage Plugins](http://cordova.apache.org/docs/en/edge/plugin_ref_plugman.md.html). + +## Using Contacts in Firefox OS + +Edit manifest.webapp and add permissions field as described in [Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest#permissions). +There is also a need to change the webapp type to "privileged" - [Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest#type). +All privileged apps enforce [Content Security Policy](https://developer.mozilla.org/en-US/Apps/CSP) which forbids inline script. Initialize your application in another way (i.e. start it on document load in index.js) + + document.onload = app.initialize; +
