Skip to main content


EOL Notice

Camera will reach its end-of-life on July 1, 2024, and will no longer receive updates or support. Please see Support Policy for additional information.

The Camera plugin offers the ability to take a photo, capture video and choose images from the system's image library.


If you have not already setup Ionic Enterprise in your app, follow the one-time setup steps.

Next, install the plugin:

npm install @ionic-enterprise/camera
npx cap sync

Preferences (iOS)

  • CameraUsesGeolocation (boolean, defaults to false). For capturing JPEGs, set to true to get geolocation data in the EXIF header. This will trigger a request for geolocation permissions if set to true.
Cordova Usage

Add the preference in the config.xml

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

Capacitor Usage

Add the preference in the capacitor.config.json

"cordova": {
"preferences": {
"CameraUsesGeolocation": "false"

Using with AndroidX Projects (Android)

This plugin relies on the legacy Android Support libraries and will not work in projects using the newer AndroidX libraries without using the jetifier tool to patch them.

npm install jetifier
npx jetifier

To run it automatically when dependencies are installed, add "postinstall": "jetifier" in the package.json.

















BACK: = 0


FRONT: = 1




JPEG: = 0


PNG: = 1








VIDEO: = 1
























name: Camera

description: Take a photo or capture video.

[Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add

<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>You can take photos</string>

inside of the <platform name='ios> section


import { Camera, CameraOptions } from '@ionic-enterprise/camera/ngx';

constructor(private camera: Camera) { }


const options: CameraOptions = {
quality: 100,
} => {
// imageData is either a base64 encoded string or a file URI
// If it's base64 (DATA_URL):
let base64Image = 'data:image/jpeg;base64,' + imageData;
}, (err) => {
// Handle error

interfaces: CameraOptions CameraPopoverOptions


● DestinationType: object

Constant for possible destination types

Type declaration

DATA_URL: number

Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible

FILE_URI: number

Return file uri (content://media/external/images/media/2 for Android)

NATIVE_URI: number

Return native uri (eg. asset-library://... for iOS)


● Direction: object

Convenience constant

Type declaration

BACK: number

Use the back-facing camera

FRONT: number

Use the front-facing camera


● EncodingType: object

Convenience constant

Type declaration

JPEG: number

Return JPEG encoded image

PNG: number

Return PNG encoded image


● MediaType: object

Convenience constant

Type declaration

ALLMEDIA: number

Allow selection from all media types

PICTURE: number

Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType

VIDEO: number

Allow selection of video only, ONLY RETURNS URL


● PictureSourceType: object

Convenience constant

Type declaration

CAMERA: number

Take picture from camera


Choose image from picture library (same as PHOTOLIBRARY for Android)


Choose image from picture library (same as SAVEDPHOTOALBUM for Android)


● PopoverArrowDirection: object

Convenience constant

Type declaration

ARROW_ANY: number

ARROW_DOWN: number

ARROW_LEFT: number


ARROW_UP: number


cleanup(): Promise<any>

Remove intermediate image files that are kept in temporary storage after calling camera.getPicture. Applies only when the value of Camera.sourceType equals Camera.PictureSourceType.CAMERA and the Camera.destinationType equals Camera.DestinationType.FILE_URI.

Returns: Promise<any>


getPicture(options?: CameraOptions): Promise<any>

Take a picture or video, or load one from the library.


Optional optionsCameraOptions

Returns: Promise<any> Returns a Promise that resolves with Base64 encoding of the image data, or the image file URI, depending on cameraOptions, otherwise rejects with an error.




<Optional> allowEdit

● allowEdit: boolean

Allow simple editing of image before selection.

<Optional> cameraDirection

● cameraDirection: number

Choose the camera to use (front- or back-facing). Defined in Camera.Direction. Default is BACK. BACK: 0 FRONT: 1

<Optional> correctOrientation

● correctOrientation: boolean

Rotate the image to correct for the orientation of the device during capture.

<Optional> destinationType

● destinationType: number

Choose the format of the return value. Defined in Camera.DestinationType. Default is FILE_URI. DATA_URL : 0, Return image as base64-encoded string (DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible), FILE_URI : 1, Return image file URI, NATIVE_URI : 2 Return image native URI (e.g., assets-library:// on iOS or content:// on Android)

<Optional> encodingType

● encodingType: number

Choose the returned image file's encoding. Defined in Camera.EncodingType. Default is JPEG JPEG : 0 Return JPEG encoded image PNG : 1 Return PNG encoded image

<Optional> mediaType

● mediaType: number

Set the type of media to select from. Only works when PictureSourceType is PHOTOLIBRARY or SAVEDPHOTOALBUM. Defined in Camera.MediaType PICTURE: 0 allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType VIDEO: 1 allow selection of video only, WILL ALWAYS RETURN FILE_URI ALLMEDIA : 2 allow selection from all media types

<Optional> popoverOptions

● popoverOptions: CameraPopoverOptions

iOS-only options that specify popover location in iPad. Defined in CameraPopoverOptions.

<Optional> quality

● quality: number

Picture quality in range 0-100. Default is 50

<Optional> saveToPhotoAlbum

● saveToPhotoAlbum: boolean

Save the image to the photo album on the device after capture.

<Optional> sourceType

● sourceType: number

Set the source of the picture. Defined in Camera.PictureSourceType. Default is CAMERA. PHOTOLIBRARY : 0, CAMERA : 1, SAVEDPHOTOALBUM : 2

<Optional> targetHeight

● targetHeight: number

Height in pixels to scale image. Must be used with targetWidth. Aspect ratio remains constant.

<Optional> targetWidth

● targetWidth: number

Width in pixels to scale image. Must be used with targetHeight. Aspect ratio remains constant.



iOS-only parameters that specify the anchor element location and arrow direction of the popover when selecting images from an iPad's library or album.


● arrowDir: number

Direction the arrow on the popover should point. Defined in Camera.PopoverArrowDirection Matches iOS UIPopoverArrowDirection constants. ARROW_UP : 1, ARROW_DOWN : 2, ARROW_LEFT : 4, ARROW_RIGHT : 8, ARROW_ANY : 15


● height: number


● width: number


● x: number


● y: number

Release Notes

5.0.0 (Sep 14, 2020)

  • GH-648 ci(travis): update osx xcode image
  • GH-637 breaking: remove NATIVE_URI DestinationType
  • GH-628 breaking: bump project requirements
  • GH-634 chore: remove deprecated file-transfer plugin
  • GH-632 fix(android): return error if file url is null
  • GH-510 fix(android): use provider prefix to avoid conflicts other plugin providers
  • GH-617 breaking(android): stop using CordovaUri helper class
  • GH-630 chore: add package-lock.json
  • GH-631 chore(package): use short notation
  • GH-629 feat: migrate to @cordova/eslint-config@3.x
  • GH-626 ci: fix additional tests
  • GH-627 breaking: bump version 5.0.0-dev
  • GH-612 fix(ios): tempFilePath called twice if using CameraUsesGeolocation
  • GH-588 Cache images in device storage, devices have enough space now.
  • GH-508 docs(readme): app renamed to Google Photos
  • GH-580 fix(ios): return copy of video when picking from gallery on iOS 13
  • GH-551 Fix UI API called on a background thread
  • GH-576 ci: updates Node.js versions
  • GH-575 chore(npm): adds ignore list
  • GH-513 docs(README): remove confusing comment
  • GH-512 docs(README): remove orphan Windows phone 7 note
  • GH-306 ImagePicker returning same image

4.1.0 (Jun 27, 2019)

  • docs: remove outdated test docs translations (06dc38f)
  • build: remove .ratignore file that is not needed any more (5dc9527)
  • chore: fix repo and issue urls and license in package.json and plugin.xml (cad8bd1)
  • fix: temporarily remove Appium tests to unbreak CI (#468) (19d8e2f)
  • ci(travis): Update Travis CI configuration for new paramedic (#455) (cffd0ac)
  • fix(android): Fix NullPointerException error on some Android phones (#429) (295e928)
  • ci: Update CI Environment Setup for Node.js 6 (#438) (fae190e)
  • refactor(android): Enhancement: Camera plugin code cleanup (#425) (a13665d)
  • fix(android): Exif data lost on many cases (#331) (81b878d)
  • chore(github): Add or update GitHub pull request and issue template (b261d31)
  • fix(ios): fixes UIImagePickerController cancel handling for iOS11+ (#377) (24c8b6c)
  • docs: Remove deprecated platforms from docs (#394) (7ddb3df)
  • fix(android): return DATA_URL for ALLMEDIA if it's an image (#382) (60e7795)
  • refactor(ios): CB-13813: Remove old iOS code (#381) (ce77aab)
  • feat(ios): CB-13865: (Ipad) Making popover Window Size configurable using popoverOptions - imagePicker (#314) (cd72047)
  • chore(types): CB-13837: fix TypeScript Definition for CameraPopoverOptions (#379) (86b0bf2)
  • docs(android): clarify android quirk of cameraDirection (a5a3d88, bfbe4a1)
  • chore(release): Bump minor version (#370) (eed4433)
  • build: Remove automatic README generation (#365) (07e8574)
  • docs: remove JIRA link (bcb26fb)
  • ci(travis): also accept terms for android sdk android-27 (a346212)
  • docs: remove outdated docs translations that haven't been touched for 3 years (403682b)
  • fix(android): CB-14097: Fix crash when selecting some files with getPicture (#322) (5c23b65)
  • fix(browser): CB-13384: Added deprecation of video.src compatibility (#288) (5163d38)
  • fix(browser): Remove audio flag from getUserMedia (#284) (36343a8)
  • docs: replace warning emoji with warning unicode (#317) (ead7d5e)
  • feat(android): Update engines to use variables (#323) (6899c5e)
  • feat(android): CB-14017: Make version configurable (#318) (e334656)
  • refactor(android): CB-14047: CameraLauncher: Replacing Repeated String literals with final variables (#319) (5ec121b)
  • fix(windows): CB-11714: added extra check for content-type in savePhoto() without options.targetWidth/Height (#242) (a201722, dc73954, dca4b9c, c1b9772, eb57b02)

4.0.3 (Apr 12, 2018)

  • CB-12593 Android Fix potential FileProvider conflicts
  • Fix a mistake in the examples of usage descriptions (#313)
  • CB-13854(ios): fix Camera opens in portrait orientation on iphones
  • CB-13415 Android Importing corrupt images using the Camera plugin crashes the app

4.0.2 (Jan 24, 2018)

  • CB-13781 (android) Fixed permissions request on Android 8 to save a photo into the photo album
  • CB-13747 Add build-tools-26.0.2 to travis

4.0.1 (Dec 27, 2017)

  • CB-13701Fix to allow 4.0.0 version install

4.0.0 (Dec 15, 2017)

3.0.0 (Nov 06, 2017)

  • Added cordova-OSX support
  • CB-13515 (all): Add 'protective' entry to cordovaDependencies
  • CB-13332 (iOS): document NSPhotoLibraryAddUsageDescription
  • CB-13264 (iOS): Remove iOS usage descriptions
  • CB-13473 (CI) Removed Browser builds from AppVeyor
  • CB-13446 Sync template with previous doc changes
  • CB-13294 Removed cordova-plugin-compat
  • CB-13299 (CI) Fix Android builds
  • CB-12985 setup eslint and removed jshint
  • CB-13028 (CI) Browser builds on Travis and AppVeyor
  • CB-13002 (Android, iOS) Fix occasional Appium tests failures
  • CB-13000 (CI) Speed up Android builds
  • CB-12991 (CI) Updated CI badges
  • CB-12964 (android) Fix of bug when Pictures folder did not exist.
  • CB-12982 (Android, iOS) Appium tests: try to create a session harder
  • CB-12682 (ios, Android): changes cancel error message to be consistent for iOS Android
  • CB-12764 (android) Adapt Appium tests for Android 7
  • CB-12847 added bugs entry to package.json.

2.4.1 (Apr 27, 2017)

  • CB-12622 Updated build badges in README
  • CB-12650 Fix manual test for uploading image
  • CB-12685 added package.json to tests folder
  • CB-12622 (android) Appium tests: Bust Android 6 and 7 permission dialogs
  • CB-12618 (android) Appium tests: Handle native cling

2.4.0 (Feb 28, 2017)

  • CB-12501 Android: Appium tests don't use XPath selectors anymore
  • CB-12469 Appium tests can now run on iOS 10
  • CB-12005 Changing the getOrientation method to return the defined enumerated EXIF instead of orientation in degrees for Consistency
  • CB-12368 Fix permission check on Android
  • CB-12353 Corrected merges usage in plugin.xml
  • CB-12369 Add plugin typings from DefinitelyTyped
  • CB-12363 Added build badges for iOS 9.3 and iOS 10.0
  • CB-12312 [Appium][Android] A few changes to the tests: - updated comments on how to run the tests. extra comments around functionality at certain points in the automation. - stub of a resolution checker on test startup - still need to figure out acceptable values. - moved session shutdown to an afterAll clause. - changed resolution determiner from using webview-based values to using the native windows dimensions - this helps as the webview values may be scaled down intentionally by manufacturers (via changing devicePixelRatio). furthermore, since the screen dimension automation is used purely for native UI automation, better to use the dimensions reported by the native context rather than the web context. - when finding elements by XPath, use multiple calls to avoid a Windows emulator + Android bug. Made this pattern consistent in the entire test.
  • CB-12236 - Fixed RELEASENOTES for cordova-plugin-camera
  • CB-12230 Removed Windows 8.1 build badges

2.3.1 (Dec 07, 2016)

  • CB-12224 Updated version and for release 2.3.1
  • Fix missing license headers.
  • CB-12086 Regenerate from template
  • Added NSPhotoLibraryUsageDescription parameter to example install command Fixing some usages of NSPhotoLibraryUsageDescriptionentry
  • Updating compat dependency to 1.1.0 or better
  • CB-11625 Forgot to add to plugin.xml
  • CB-11625 Files Provider does not work with Android 4.4.4 or lower, and I have no idea why. Working around with CordovaUri
  • CB-11625 (Android) : Make this work with previous versions of Cordova via cordova-plugin-compat
  • BuildConfig from test project crept in source code thanks to Android Studio, removing
  • CB-11625 Managed to get Content Providers to work with a weird mix of Content Providers and non-Content Providers
  • CB-11625 Working on fix to API 24 no longer allowing File URIs to be passed across intents
  • CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
  • CB-11832 Incremented plugin version.

2.3.0 (Sep 08, 2016)

  • CB-11795 Add 'protective' entry to cordovaDependencies
  • CB-11661 Add mandatory iOS 10 privacy description
  • CB-11714 windows added more explicit content-type when converting to target data on canvas
  • CB-11295 Add WP8.1 quirk when choosing image from photoalbum
  • CB-10067 Update PictureSourceType JSDoc to reflect README update
  • CB-9070 Update CameraPopoverHandle docs to reflect README update
  • Plugin uses Android Log class and not Cordova LOG class
  • CB-11631 Appium tests: A working fix for a flaky selection canceled failure
  • CB-11709 Tests should use resolveLocalFileSystemURL() instead of deprecated resolveFileSystemURI()
  • CB-11695 Increased session creation timeout for Appium tests
  • CB-11656 (Android) Appium tests: Fixed side menu opening on some more resolutions
  • CB-11376 (ios): fix CameraUsesGeolocation error
  • CB-10067 (ios) clarifications on PictureSourceType
  • CB-11410 (ios) fix cameraPopoverHandle.setPosition
  • CB-9070 (ios) Fixed CameraPopoverHandle documentation
  • CB-11447 Respect output format when retrieving images from gallery
  • CB-11447 Resolve iOS tests failures due to iOS quirks
  • CB-11553 Pend failing Appium tests on Sauce Labs for the time being (reverted from commit b69571724035f41642f3ee612c5b66e1f0c4386c)
  • CB-11553 Pend failing Appium tests on Sauce Labs for the time being
  • CB-11498 [Android] Appium tests should not fail when there is no camera
  • Add badges for paramedic builds on Jenkins
  • CB-11296 Appium: Better element clicking and session error handling
  • CB-11232 Appium tests: fixed element tapping on iOS 9
  • CB-11183 Appium tests: Added image verification
  • fixed some bad formatting that hid HTML tags and added link to sample
  • Set android quality default value to 50 on the java code
  • Moving message in PR template to a comment
  • Add pull request template. This closes #213
  • CB-11228 browser: Add classes for styling purposes
  • CB-10139 browser: Respect target width and height
  • CB-11227 browser: Fix incorrect mime type
  • CB-11162 Appium tests: retry spec on failure
  • CB-4078 Fix for orientation/scaling on Android 4.4+ devices
  • CB-11165 removed peer dependency
  • CB-11147 Appium tests: generate descriptive spec names
  • CB-10996 Adding front matter to
  • CB-11128 Appum tests: Fixed some of the flaky failures
  • CB-11003 Added Sample section to the Camera plugin README

2.2.0 (Apr 15, 2016)

  • CB-10873 Avoid crash due to usage of uninitialized variable when writing geolocation data to image destination. Properly handle 'CameraUsesGeolocation' option by properly setting geolocation data in EXIF header in all cases
  • CB-11073 Appium tests stability improvements
  • Replace with cordova-plugin-compat
  • Making focus handler work only for windows 10 phone
  • CB-10865 Run ios native tests on Travis
  • CB-10120 Fixing use of constants and PermissionHelper
  • CB-10120 Fix missing CAMERA permission for Android M
  • CB-10756 Adding sterner warnings about DATA_URL
  • CB-10460 getRealPath return null in some cases

2.1.1 (Mar 09, 2016)

  • CB-10825 Android should request READ permission for gallery source
  • added apache license header to appium files
  • CB-10720 Fixed spelling, capitalization, and other small issues.
  • CB-10414 Adding focus handler to resume video when user comes back on leaving the app while preview was running
  • Appium tests: adjust swipe distance on Android
  • CB-10750 Appium tests: fail fast if session is irrecoverable
  • Adding missing semi colon
  • Adding focus handler to make sure filepicker gets launched when app is active on Windows
  • CB-10128 iOS Fixed how checks access authorization to camera & library. This closes #146
  • CB-10636 Add JSHint for plugins
  • CB-10639 Appium tests: Added some timeouts, Taking a screenshot on failure, Retry taking a picture up to 3 times, Try to restart the Appium session if it's lost
  • CB-10552 Replacing images in
  • Added a lot of more cases to get the real path on Android
  • CB-10625 Android getPicture fails when getting a photo from the Photo Library - Google Photos
  • CB-10619 Appium tests: Properly switch to webview on Android
  • CB-10397 Added Appium tests
  • CB-10576 MobileSpec can't get results for Windows-Store 8.1 Builds
  • chore: edit package.json license to match SPDX id
  • CB-10539 Commenting out the verySmallQvga maxResolution option on Windows
  • CB-10541 Changing default maxResoltion to be highestAvailable for CameraCaptureUI on Windows
  • CB-10113 Browse - Layer camera UI on top of all!
  • CB-10502 Browser - Fix camera plugin exception in Chrome when click capture.
  • Adding comments
  • Camera tapping fix on Windows

2.1.0 (Jan 15, 2016)

  • added .ratignore
  • CB-10319 Android Adding reflective helper methods for permission requests
  • CB-9189 Android Implementing save/restore API to handle Activity destruction
  • CB-10241 App Crash cause by Camera Plugin iOS 7
  • CB-8940 Setting z-index values to maximum for UI buttons.

2.0.0 (Nov 18, 2015)

  • CB-10035 Updated RELEASENOTES to be newest to oldest
  • CB-8863 correct block usage for async calls
  • CB-5479 changed saveToPhotoAlbum to save uncompressed images for Android
  • CB-9169 Fixed filetype for uncompressed images and added quirk for Android
  • CB-9446 Removing CordovaResource library code in favour of the code we're supposed to be deprecating because that at least works.
  • CB-9942 Normalize line endings in Camera plugin docs
  • CB-9910 Add permission request for some gallery requests for Android
  • CB-7668 Adding a sterner warning for allowedit on Android
  • Fixing contribute link.
  • Using the CordovaResourceApi to fine paths of files in the background thread. If the file doesn't exist, return the content URI.
  • Add engine tag for Cordova-Android 5.0.x
  • CB-9583: Added support for Marshmallow permissions (Android 6.0)
  • Try to use realpath filename instead of default modified.jpg
  • CB-6190 iOS camera plugin ignores quality parameter
  • CB-9633 iOS Taking a Picture With Option destinationType:NATIVE_URI doesn't show image
  • CB-9745 Camera plugin docs should be generated from the source
  • CB-9622 WP8 Camera Option destinationType:NATIVE_URI is a NO-OP
  • CB-9623 Fixes various issues when encodingType set to png
  • CB-9591 Retaining aspect ratio when resizing
  • CB-9443 Pick correct maxResolution
  • CB-9151 Trigger captureAction only once
  • CB-9413 Close RandomAccessStream once copied
  • CB-5661 Remove outdated iOS quirks about memory
  • CB-9349 Focus control and nice UI
  • CB-9259 Forgot to add another check on which URI we're using when fixing this thing the first time
  • CB-9247 Added macro to conditionally add NSData+Base64.h
  • CB-9247 Fixes compilation errors with cordova-ios 4.x
  • Fix returning native url on Windows.

1.2.0 (Jun 17, 2015)

  • Closing stale pull request: close #84
  • Closing stale pull request: close #66
  • CB-9128 cordova-plugin-camera documentation translation: cordova-plugin-camera
  • Update docs. This closes #100
  • attempt to fix npm markdown issue
  • CB-8883 fix picture rotation issue
  • one more alias
  • Fixed some nit white-space issues, aliased a little more
  • major refactor : readability
  • Patch for CB-8498, this closes #64
  • CB-8879 fix stripe issue with correct aspect ratio
  • CB-8601 - iOS camera unit tests broken
  • CB-7667 iOS8: Handle case where camera is not authorized (closes #49)
  • add missing license header

1.1.0 (May 06, 2015)

  • CB-8943 fix PickAndContinue issue on Win10Phone
  • CB-8253 Fix potential unreleased resources
  • CB-8909: Remove unused import from File
  • CB-8404 typo fix cameraproxy.js
  • CB-8404 Rotate camera feed with device orientation
  • CB-8054 Support taking pictures from file for WP8
  • CB-8405 Use z-index instead of z-order

1.0.0 (Apr 15, 2015)

  • CB-8780 - Display popover using main thread. Fixes popover slowness (closes #81)
  • CB-8746 bumped version of file dependency
  • CB-8746 gave plugin major version bump
  • CB-8707 refactoring windows code to improve readability
  • CB-8706 use filePicker if saveToPhotoAlbum is true
  • CB-8706 remove unnecessary capabilities from xml
  • CB-8747 updated dependency, added peer dependency
  • CB-8683 updated blackberry specific references of to cordova-plugin-camera
  • CB-8782: Updated the docs to talk about the allowEdit quirks, it's not 100% working, but better than it was
  • CB-8782: Fixed the flow so that we save the cropped image and use it, not the original non-cropped. Crop only supports G+ Photos Crop, other crops may not work, depending on the OEM
  • CB-8740: Removing FileHelper call that was failing on Samsung Galaxy S3, now that we have a real path, we only need to update the MediaStore, not pull from it in this case
  • CB-8740: Partial fix for Save Image to Gallery error found in MobileSpec
  • CB-8683 changed plugin-id to pacakge-name
  • CB-8653 properly updated translated docs to use new id
  • CB-8653 updated translated docs to use new id
  • CB-8351 Fix custom implementation of integerValueForKey (close #79)
  • Fix cordova-paramedic path change, build with TRAVIS_BUILD_DIR, use npm to install paramedic
  • docs: added 'Windows' to supported platforms
  • CB-8653 Updated Readme
  • CB-8659: ios: 4.0.x Compatibility: Remove use of deprecated headers

0.3.6 (Mar 10, 2015)

  • Fix localize key for Videos. This closes #58
  • CB-8235 android: Fix crash when selecting images from DropBox with spaces in path (close #65)
  • add try ... catch for getting image orientation
  • CB-8599 fix threading issue with cameraPicker (fixes #72)
  • CB-8559 Integrate TravisCI
  • CB-8438 cordova-plugin-camera documentation translation: cordova-plugin-camera
  • CB-8538 Added package.json file

0.3.5 (Feb 04, 2015)

  • CB-8351 ios: Stop using now-deprecated [NSData base64EncodedString]
  • CB-8351 ios: Stop using now-deprecated integerValueForKey: class extension
  • CB-8351 ios: Use argumentForIndex rather than NSArray extension
  • CB-8032 ios: Add nativeURL external method support for CDVFileSystem->makeEntryForPath:isDirectory:
  • CB-7938 ios: Added XCTest unit tests project, with stubs (adapted from SplashScreen unit test setup)
  • CB-7937 ios: Re-factor iOS Camera plugin so that it is testable

0.3.4 (Dec 02, 2014)

  • CB-7977 Mention deviceready in plugin docs
  • CB-7979 Each plugin doc should have a ## Installation section
  • Fix memory leak of image data in imagePickerControllerReturnImageResult
  • Pass uri to crop instead of pulling the low resolution image out of the intent return (close #43)
  • Add orientation support for PNG to Android (closes #45)
  • CB-7700 cordova-plugin-camera documentation translation: cordova-plugin-camera

0.3.3 (Oct 03, 2014)

  • CB-7600 Adds informative message to error callback in manual test.

0.3.2 (Sep 17, 2014)

  • CB-7551 [Camera][ios 8] Scaled images show a white line
  • CB-7558 hasPendingOperation flag in Camera plugin's takePicture should be reversed to fix memory errors
  • CB-7557 Camera plugin tests is missing a File dependency
  • CB-7423 do cleanup after copyImage manual test
  • CB-7471 cordova-plugin-camera documentation translation: cordova-plugin-camera
  • CB-7413 Resolve 'ms-appdata' URIs with File plugin
  • Fixed minor bugs with the browser
  • CB-7433 Adds missing window reference to prevent manual tests failure on Android and iOS
  • CB-7249 cordova-plugin-camera documentation translation: cordova-plugin-camera
  • CB-4003 Add config option to not use location information in Camera plugin (and default to not use it)
  • CB-7461 Geolocation fails in Camera plugin in iOS 8
  • CB-7378 Use single Proxy for both windows8 and windows.
  • CB-7378 Adds support for windows platform
  • CB-7433 Fixes manual tests failure on windows
  • CB-6958 Get the correct default for "quality" in the test
  • add documentation for manual tests
  • CB-7249 cordova-plugin-camera documentation translation: cordova-plugin-camera
  • CB-4003 Add config option to not use location information in Camera plugin (and default to not use it)
  • CB-7461 Geolocation fails in Camera plugin in iOS 8
  • CB-7433 Fixes manual tests failure on windows
  • CB-7378 Use single Proxy for both windows8 and windows.
  • CB-7378 Adds support for windows platform
  • CB-6958 Get the correct default for "quality" in the test
  • add documentation for manual tests
  • Updated docs for browser
  • Added support for the browser
  • CB-7286 [BlackBerry10] Use getUserMedia if camera card is unavailable
  • CB-7180 Update Camera plugin to support generic plugin webView UIView (which can be either a UIWebView or WKWebView)
  • Renamed test dir, added nested plugin.xml
  • CB-6958 added manual tests
  • CB-6958 Port camera tests to plugin-test-framework

0.3.1 (Aug 06, 2014)

  • FFOS update CameraProxy.js
  • CB-7187 ios: Add explicit dependency on CoreLocation.framework
  • [BlackBerry10] Doc correction - sourceType is supported
  • CB-7071 android: Fix callback firing before CROP intent is sent when allowEdit=true
  • CB-6875 android: Handle exception when SDCard is not mounted
  • ios: Delete postImage (dead code)
  • Prevent NPE on processResiultFromGallery when intent comes null
  • Remove iOS doc reference to non-existing navigator.fileMgr API
  • Docs updated with some default values
  • Removes File plugin dependency from windows8 code.
  • Use WinJS functionality to resize image instead of File plugin functionality
  • CB-6127 Updated translations for docs

0.3.0 (Jun 05, 2014)

  • CB-5895 documented saveToPhotoAlbum quirk on WP8
  • Remove deprecated symbols for iOS < 6
  • documentation translation: cordova-plugin-camera
  • ubuntu: use application directory for images
  • CB-6795 Add license
  • Little fix in code formatting
  • CB-6613 Use WinJS functionality to get base64-encoded content of image instead of File plugin functionality
  • CB-6612 camera.getPicture now always returns encoded JPEG image
  • Removed invalid note from CB-5398
  • CB-6576 - Returns a specific error message when app has no access to library.
  • CB-6491 add
  • CB-6546 android: Fix a couple bugs with allowEdit pull request
  • CB-6546 android: Add support for allowEdit Camera option

0.2.9 (Apr 17, 2014)

  • CB-6460: Update license headers
  • CB-6422: [windows8] use cordova/exec/proxy
  • [WP8] When only targetWidth or targetHeight is provided, use it as the only bound
  • CB-4027, CB-5102, CB-2737, CB-2387: [WP] Fix camera issues, cropping, memory leaks
  • CB-6212: [iOS] fix warnings compiled under arm64 64-bit
  • [BlackBerry10] Add rim xml namespaces declaration
  • Add NOTICE file

0.2.8 (Feb 26, 2014)

  • CB-1826 Catch OOM on gallery image resize

0.2.7 (Feb 05, 2014)

  • CB-4919 firefox os quirks added and supported platforms list is updated
  • getPicture via web activities
  • Documented quirk for CB-5335 + CB-5206 for WP7+8
  • reference the correct firefoxos implementation
  • [BlackBerry10] Add permission to access_shared

0.2.6 (Jan 02, 2014)

  • CB-5658 Add doc/ for Camera plugin
  • CB-2442 CB-2419 Use Windows.Storage.ApplicationData.current.localFolder, instead of writing to app package.
  • [BlackBerry10] Adding platform level permissions
  • CB-5599 Android: Catch and ignore OutOfMemoryError in getRotatedBitmap()

0.2.5 (Dec 4, 2013)

  • fix camera for firefox os
  • getPicture via web activities
  • [ubuntu] specify policy_group
  • add ubuntu platform
    1. User Agent detection now detects AmazonWebView. 2. Change to use amazon-fireos as the platform if user agent string contains 'cordova-amazon-fireos'
  • Added amazon-fireos platform.

0.2.4 (Oct 28, 2013)

  • CB-5128: added repo + issue tag to plugin.xml for camera plugin
  • CB-4958 - iOS - Camera plugin should not show the status bar
  • CB-4919 updated plugin.xml for FxOS
  • CB-4915 Incremented plugin version on dev branch.

0.2.3 (Sept 25, 2013)

  • CB-4889 bumping&resetting version
  • CB-4889 forgot index.html
  • CB-4889 renaming core inside cameraProxy
  • [Windows8] commandProxy has moved
  • [Windows8] commandProxy has moved
  • added Camera API for FirefoxOS
  • Rename ->
  • CB-4823 Fix XCode 5 camera plugin warnings
  • Fix compiler warnings
  • CB-4765 Move into Camera Plugin
  • CB-4764 Remove reference to DirectoryManager from CameraLauncher
  • CB-4763 Use a copy of within camera-plugin.
  • CB-4752 Incremented plugin version on dev branch.
  • CB-4633: We really should close cursors. It's just the right thing to do.
  • No longer causes a stack trace, but it doesn't cause the error to be called.
  • CB-4889 renaming to

0.2.1 (Sept 5, 2013)

  • CB-4656 Don't add line-breaks to base64-encoded images (Fixes type=DataURI)
  • CB-4432 copyright notice change