cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [08/11] git commit: docs added
Date Tue, 03 Dec 2013 21:32:51 GMT
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/3a65011d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/3a65011d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/3a65011d

Branch: refs/heads/dev
Commit: 3a65011d6411b08ae9313ec8a0eb5cf545fd7b4f
Parents: 334080a
Author: Piotr Zalewa <piotr@zalewa.info>
Authored: Thu Nov 28 14:42:50 2013 +0100
Committer: hermwong <herm.wong@gmail.com>
Committed: Tue Dec 3 13:32:27 2013 -0800

----------------------------------------------------------------------
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/3a65011d/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;
+


Mime
View raw message