From fc0678f9707350c40b488b4827f7e0944779be94 Mon Sep 17 00:00:00 2001 From: Piotr Zalewa Date: Tue, 14 Jan 2014 14:25:02 +0100 Subject: [PATCH] CB-4919 firefox os quirks added and supported platforms list is updated --- doc/index.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/index.md b/doc/index.md index d1401e3..65e7da9 100644 --- a/doc/index.md +++ b/doc/index.md @@ -78,6 +78,7 @@ than `DATA_URL`. - Amazon Fire OS - Android - BlackBerry 10 +- Firefox OS - iOS - Tizen - Windows Phone 7 and 8 @@ -102,6 +103,10 @@ Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the image may not appear when the Cordova activity is restored. +### Firefox OS Quirks + +Camera plugin is currently implemented using [Web Activities](https://hacks.mozilla.org/2013/01/introducing-web-activities/). + ### iOS Quirks Including a JavaScript `alert()` in either of the callback functions @@ -253,6 +258,26 @@ Optional parameters to customize the camera settings. - Ignores the `cameraDirection` parameter. +### Firefox OS Quirks + +- Ignores the `quality` parameter. + +- `Camera.DestinationType` is ignored and equals `1` (image file URI) + +- Ignores the `allowEdit` parameter. + +- Ignores the `PictureSourceType` parameter (user choses it in a dialog window) + +- Ignores the `encodingType` + +- Ignores the `targetWidth` and `targetHeight` + +- `Camera.MediaType` is not supported. + +- Ignores the `correctOrientation` parameter. + +- Ignores the `cameraDirection` parameter. + ### iOS Quirks - Set `quality` below 50 to avoid memory errors on some devices.