Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60B6510A3D for ; Mon, 10 Feb 2014 23:26:17 +0000 (UTC) Received: (qmail 76737 invoked by uid 500); 10 Feb 2014 23:22:03 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 76147 invoked by uid 500); 10 Feb 2014 23:21:44 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 75572 invoked by uid 99); 10 Feb 2014 23:21:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 23:21:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 87E81922CA2; Mon, 10 Feb 2014 23:21:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: steven@apache.org To: commits@cordova.apache.org Date: Mon, 10 Feb 2014 23:21:33 -0000 Message-Id: In-Reply-To: <8bd3c21a18604e3594e81d2147e74755@git.apache.org> References: <8bd3c21a18604e3594e81d2147e74755@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [6/8] git commit: [CB-3208] FFOS docs updated [CB-3208] FFOS docs updated 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/c561ba51 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/c561ba51 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/c561ba51 Branch: refs/heads/master Commit: c561ba515ffc07cfc627d01e22286010b27d50a1 Parents: 8e89957 Author: Piotr Zalewa Authored: Sat Jan 25 10:03:19 2014 +0100 Committer: Herm Wong Committed: Mon Jan 27 09:50:49 2014 -0800 ---------------------------------------------------------------------- doc/index.md | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/c561ba51/doc/index.md ---------------------------------------------------------------------- diff --git a/doc/index.md b/doc/index.md index 7d8bf36..4d2f944 100644 --- a/doc/index.md +++ b/doc/index.md @@ -44,10 +44,19 @@ contact data. For more information, please see the Privacy Guide. ### Firefox OS Quirks -Edit manifest.webapp and add permissions field as described in [Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest#permissions). +Create __www/manifest.webapp__ as described in +[Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest). +Add relevant permisions. 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. +__WARNING__: 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. + "type": "privileged", + "permissions": { + "contacts": { + "access": "readwrite", + "description": "Describe why there is a need for such permission" + } + } ## navigator.contacts @@ -77,6 +86,7 @@ database, for which you need to invoke the `Contact.save` method. - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 @@ -122,6 +132,7 @@ _any_ of the specified fields, the contact is returned. - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -199,6 +210,7 @@ for details. - Amazon Fire OS - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -277,6 +289,14 @@ for details. - __urls__: Partially supported. The first URL is stored in BlackBerry __webpage__ field. +### FirefoxOS Quirks + +- __categories__: Partially supported. Fields __pref__ and __type__ are returning `null` + +- __ims__: Not supported + +- __photos__: Not supported + ### iOS Quirks - __displayName__: Not supported on iOS, returning `null` unless there is no `ContactName` specified, in which case it returns the composite name, __nickname__ or `""`, respectively. @@ -340,6 +360,7 @@ a `ContactAddress[]` array. - Amazon Fire OS - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -453,6 +474,7 @@ string. - Amazon Fire OS - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -512,6 +534,7 @@ Contains different kinds of information about a `Contact` object's name. - Amazon Fire OS - Android 2.X - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -584,6 +607,7 @@ properties. A `Contact` object stores one or more - Android - BlackBerry 10 +- Firefox OS - iOS - Windows Phone 7 and 8 - Windows 8 @@ -627,6 +651,16 @@ properties. A `Contact` object stores one or more - __title__: Partially supported. The first organization title is stored in the BlackBerry __jobTitle__ field. +### Firefox OS Quirks + +- __pref__: Not supported + +- __type__: Not supported + +- __department__: Not supported + +- Fields __name__ and __title__ stored in __org__ and __jobTitle__. + ### iOS Quirks - __pref__: Not supported on iOS devices, returning `false`.