Skip to content

Commit 7ddb3df

Browse files
authored
Remove deprecated platforms from docs (#394)
1 parent 60e7795 commit 7ddb3df

File tree

1 file changed

+1
-83
lines changed

1 file changed

+1
-83
lines changed

README.md

+1-83
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,10 @@ than `DATA_URL`.
168168
__Supported Platforms__
169169

170170
- Android
171-
- BlackBerry
172171
- Browser
173-
- Firefox
174-
- FireOS
175172
- iOS
176173
- Windows
177-
- WP8
178-
- Ubuntu
174+
- OSX
179175

180176
More examples [here](#camera-getPicture-examples). Quirks [here](#camera-getPicture-quirks).
181177

@@ -460,12 +456,6 @@ Take a photo and retrieve it as a Base64-encoded image:
460456

461457
<preference name="CameraUsesGeolocation" value="false" />
462458

463-
#### Amazon Fire OS Quirks <a name="camera-getPicture-quirks"></a>
464-
465-
Amazon Fire OS uses intents to launch the camera activity on the device to capture
466-
images, and on phones with low memory, the Cordova activity may be killed. In this
467-
scenario, the image may not appear when the Cordova activity is restored.
468-
469459
#### Android Quirks
470460

471461
Android uses intents to launch the camera activity on the device to capture
@@ -481,10 +471,6 @@ successful.
481471

482472
Can only return photos as Base64-encoded image.
483473

484-
#### Firefox OS Quirks
485-
486-
Camera plugin is currently implemented using [Web Activities][web_activities].
487-
488474
#### iOS Quirks
489475

490476
Including a JavaScript `alert()` in either of the callback functions
@@ -511,23 +497,8 @@ To avoid this we suggest using SPA pattern or call `camera.getPicture` only from
511497

512498
More information about Windows Phone 8.1 picker APIs is here: [How to continue your Windows Phone app after calling a file picker](https://msdn.microsoft.com/en-us/library/windows/apps/dn720490.aspx)
513499

514-
#### Tizen Quirks
515-
516-
Tizen only supports a `destinationType` of
517-
`Camera.DestinationType.FILE_URI` and a `sourceType` of
518-
`Camera.PictureSourceType.PHOTOLIBRARY`.
519-
520-
521500
## `CameraOptions` Errata <a name="CameraOptions-quirks"></a>
522501

523-
#### Amazon Fire OS Quirks
524-
525-
- Any `cameraDirection` value results in a back-facing photo.
526-
527-
- Ignores the `allowEdit` parameter.
528-
529-
- `Camera.PictureSourceType.PHOTOLIBRARY` and `Camera.PictureSourceType.SAVEDPHOTOALBUM` both display the same photo album.
530-
531502
#### Android Quirks
532503

533504
- Any `cameraDirection` value results in a back-facing photo. (= You can only use the back camera)
@@ -538,38 +509,6 @@ Tizen only supports a `destinationType` of
538509

539510
- Ignores the `encodingType` parameter if the image is unedited (i.e. `quality` is 100, `correctOrientation` is false, and no `targetHeight` or `targetWidth` are specified). The `CAMERA` source will always return the JPEG file given by the native camera and the `PHOTOLIBRARY` and `SAVEDPHOTOALBUM` sources will return the selected file in its existing encoding.
540511

541-
#### BlackBerry 10 Quirks
542-
543-
- Ignores the `quality` parameter.
544-
545-
- Ignores the `allowEdit` parameter.
546-
547-
- `Camera.MediaType` is not supported.
548-
549-
- Ignores the `correctOrientation` parameter.
550-
551-
- Ignores the `cameraDirection` parameter.
552-
553-
#### Firefox OS Quirks
554-
555-
- Ignores the `quality` parameter.
556-
557-
- `Camera.DestinationType` is ignored and equals `1` (image file URI)
558-
559-
- Ignores the `allowEdit` parameter.
560-
561-
- Ignores the `PictureSourceType` parameter (user chooses it in a dialog window)
562-
563-
- Ignores the `encodingType`
564-
565-
- Ignores the `targetWidth` and `targetHeight`
566-
567-
- `Camera.MediaType` is not supported.
568-
569-
- Ignores the `correctOrientation` parameter.
570-
571-
- Ignores the `cameraDirection` parameter.
572-
573512
#### iOS Quirks
574513

575514
- When using `destinationType.FILE_URI`, photos are saved in the application's temporary directory. The contents of the application's temporary directory is deleted when the application ends.
@@ -578,28 +517,7 @@ Tizen only supports a `destinationType` of
578517

579518
- When using `destinationType.NATIVE_URI` and `sourceType.PHOTOLIBRARY` or `sourceType.SAVEDPHOTOALBUM`, all editing options are ignored and link is returned to original picture.
580519

581-
#### Tizen Quirks
582-
583-
- options not supported
584-
585-
- always returns a FILE URI
586-
587-
#### Windows Phone 7 and 8 Quirks
588-
589-
- Ignores the `allowEdit` parameter.
590-
591-
- Ignores the `correctOrientation` parameter.
592-
593-
- Ignores the `cameraDirection` parameter.
594-
595-
- Ignores the `saveToPhotoAlbum` parameter. IMPORTANT: All images taken with the WP8/8 Cordova camera API are always copied to the phone's camera roll. Depending on the user's settings, this could also mean the image is auto-uploaded to their OneDrive. This could potentially mean the image is available to a wider audience than your app intended. If this is a blocker for your application, you will need to implement the CameraCaptureTask as [documented on MSDN][msdn_wp8_docs]. You may also comment or up-vote the related issue in the [issue tracker][wp8_bug].
596-
597-
- Ignores the `mediaType` property of `cameraOptions` as the Windows Phone SDK does not provide a way to choose videos from PHOTOLIBRARY.
598-
599520
[android_lifecycle]: http://cordova.apache.org/docs/en/dev/guide/platforms/android/lifecycle.html
600-
[web_activities]: https://hacks.mozilla.org/2013/01/introducing-web-activities/
601-
[wp8_bug]: https://issues.apache.org/jira/browse/CB-2083
602-
[msdn_wp8_docs]: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx
603521

604522
## Sample: Take Pictures, Select Pictures from the Picture Library, and Get Thumbnails <a name="sample"></a>
605523

0 commit comments

Comments
 (0)