Skip to content

Latest commit

 

History

History
504 lines (289 loc) · 40.3 KB

File metadata and controls

504 lines (289 loc) · 40.3 KB

8.2.0 (2026-04-28)

Bug Fixes

  • bump ioncamera-android to 1.0.1 to resolve duplicate webPath on Android gallery multi-select (#49) (1bb0cd4)
  • bump IONCameraLib to 1.0.3 to resolve iOS 15 SwiftUI core crash (#46) (8fb9688)
  • bump IONCameraLib to 1.0.4 to apply presentationStyle in chooseFromGallery (#50) (8c50403)

Features

  • add CameraErrorCode enum for type-safe error handling (#45) (11abcbe)

8.1.0 (2026-04-13)

This minor plugin version introduces significant API changes and deprecations. While backward compatibility is maintained, migration is strongly recommended. Please read the release notes in full, and refer to https://capacitorjs.com/docs/apis/camera for full documentation, including migration guides.

Deprecations

  • getPhoto method is deprecated. Use takePhoto for a camera photo, or chooseFromGallery to select from the gallery. For creating a prompt for the user to select which source, use @capacitor/action-sheet or any UI component of your choosing.
  • pickImages method is deprecated. Use chooseFromGallery instead. Refer to the Camera API documentation for more information on migrating.
  • Photo, GalleryImageOptions, and CameraResultType are deprecated, only use them if you are still using the deprecated getPhoto and/or pickImages.
  • These deprecated items will be removed in a future major version of the Camera Plugin, please consider migrating to the new ones.

Features

  • New takePhoto method added. It allows capturing a photo with the device's camera.
  • New recordVideo method added. It allows recording a video with the device's camera. Currently not available in Web. Addresses capacitor-plugins#229.
  • New playVideo method added. It opens a native player to play the provided video. Currently not available in Web.
  • New chooseFromGallery method added. Use it to select photos and/or videos from the device.
  • New MediaResult and MediaMetadata interfaces, which are returned by takePhoto, recordVideo and chooseFromGallery (metadata only if input parameter includeMetadata is true). Besides providing most of the existing functionality from deprecated getPhoto / pickImages, it can include additional metadata like creation date, video duration, among others.
  • New editPhoto method added. Opens an in-app screen to edit a provided base64 encoded image. Supported editing features include image cropping and rotation. Currently not available in Web.
  • New editURIPhoto method added. Opens an in-app screen to edit a provided image from a URI. You may use the URIs returned by takePhoto and chooseFromGallery as input to editURIPhoto. Supported editing features include image cropping and rotation. Currently not available in Web.
  • New Error structure when promise is rejected in new methods: code in OS-PLUG-CAMR-XXXX format + message. Refer to plugin documentation for available errors. Existing methods from version 8.0.2 and older retain the same error structure as before for backwards-compatibility.
  • New methods implementation in new native libraries: https://github.com/ionic-team/ion-android-camera and https://github.com/ionic-team/ion-ios-camera.

Bug Fixes

  • android: Restrict pickImages limit to maximum number supported by the device (clone of capacitor-plugins#2309)

8.0.2 (2026-03-06)

Bug Fixes

  • camera: Allow cancelation of sheet in Web, requires pwa-elements 3.4.0 or higher (#2284) (06cf611)

8.0.1 (2026-02-12)

Bug Fixes

  • AGP 9.0 no longer supporting proguard-android.txt (#2468) (a8760a9)

8.0.0 (2025-12-08)

Note: Version bump only for package @capacitor/camera

8.0.0-beta.0 (2025-11-14)

Note: Version bump only for package @capacitor/camera

8.0.0-alpha.1 (2025-09-08)

Note: Version bump only for package @capacitor/camera

7.0.2 (2025-08-05)

Bug Fixes

  • camera: requestPermissions on Android 13+ (#2393) (4d707a7)

7.0.1 (2025-04-02)

Note: Version bump only for package @capacitor/camera

7.0.0 (2025-01-20)

Note: Version bump only for package @capacitor/camera

7.0.0-rc.0 (2025-01-13)

Note: Version bump only for package @capacitor/camera

7.0.0-alpha.2 (2024-12-19)

Note: Version bump only for package @capacitor/camera

7.0.0-alpha.1 (2024-12-16)

Bug Fixes

  • camera: Android dialog not fully showing when in landscape (#2276) (123193b)

Features

  • camera: only request permission to save to the gallery for Android <= 9 (#2222) (30da38e)

6.0.2 (2024-08-08)

Note: Version bump only for package @capacitor/camera

6.0.1 (2024-06-13)

Bug Fixes

  • ios: iOS panorama photos selected through CameraPlugin are corrupted (#2090) (998e495)
  • ios: Picking ProRAW pictures from Gallery (#2098) (20b9e26)

6.0.0 (2024-04-15)

Note: Version bump only for package @capacitor/camera

6.0.0-rc.1 (2024-03-25)

Note: Version bump only for package @capacitor/camera

6.0.0-rc.0 (2024-02-07)

Note: Version bump only for package @capacitor/camera

6.0.0-beta.1 (2023-12-14)

Bug Fixes

  • camera: reject promise on web input cancel event (#1958) (d218ba6)

6.0.0-beta.0 (2023-12-13)

Note: Version bump only for package @capacitor/camera

6.0.0-alpha.2 (2023-11-15)

Note: Version bump only for package @capacitor/camera

6.0.0-alpha.1 (2023-11-08)

Note: Version bump only for package @capacitor/camera

5.0.8 (2023-12-15)

Bug Fixes

  • camera: reject promise on web input cancel event (#1964) (77dc373)

5.0.7 (2023-08-09)

Bug Fixes

  • camera: Request only the permissions needed by Android version (#1713) (f1585d6)

5.0.6 (2023-07-12)

Note: Version bump only for package @capacitor/camera

5.0.5 (2023-06-29)

Note: Version bump only for package @capacitor/camera

5.0.4 (2023-06-08)

Note: Version bump only for package @capacitor/camera

5.0.3 (2023-06-08)

Note: Version bump only for package @capacitor/camera

5.0.2 (2023-05-09)

Note: Version bump only for package @capacitor/camera

5.0.1 (2023-05-05)

Bug Fixes

5.0.0 (2023-05-03)

Note: Version bump only for package @capacitor/camera

5.0.0-beta.1 (2023-04-21)

Features

  • Update gradle to 8.0.2 and gradle plugin to 8.0.0 (#1542) (e7210b4)

5.0.0-beta.0 (2023-03-31)

Bug Fixes

  • camera: add proper permissions for Android 13 (#1509) (0dcbe56)
  • camera: prevent iOS crash with 0 limited images selected (#1495) (33f5c8e)

5.0.0-alpha.1 (2023-03-16)

Bug Fixes

Features

  • android: Removing enableJetifier (d66f9cb)

4.1.4 (2022-11-16)

Note: Version bump only for package @capacitor/camera

4.1.3 (2022-10-21)

Note: Version bump only for package @capacitor/camera

4.1.2 (2022-09-29)

Bug Fixes

  • camera: make pickLimitedLibraryPhotos return photos on iOS 15+ (#1191) (a65c8ca)

4.1.1 (2022-09-12)

Note: Version bump only for package @capacitor/camera

4.1.0 (2022-08-24)

Features

  • camera: Add support for iOS limited photo library mode (#1125) (cc5e4e6)

4.0.1 (2022-07-28)

Note: Version bump only for package @capacitor/camera

4.0.0 (2022-07-27)

Note: Version bump only for package @capacitor/camera

4.0.0-beta.2 (2022-07-08)

Note: Version bump only for package @capacitor/camera

4.0.0-beta.0 (2022-06-27)

Bug Fixes

  • camera: Append change listener only once (#486) (5b7021e)
  • camera: Append exif to android images (#480) (cad8a30)
  • camera: avoid error if image has no orientation (#554) (dc8a55a)
  • camera: cleanup camera images if not needed (#563) (a2e4f43)
  • camera: correct photo resizing on iOS (#460) (bc56e03)
  • camera: decode content uri when retrieving image from gallery (#277) (a6cd1ad)
  • camera: Don't save gallery images on iOS 14+ (#696) (7b2cc88)
  • camera: fix camera source on Android (#164) (e67f7c6)
  • camera: Make allowEdit work on all devices (#552) (5224177)
  • camera: Make input file hidden (#484) (cdc1835)
  • camera: Make web use source options (#487) (7870e6b)
  • camera: process picked image only once (#782) (897dcaf)
  • camera: Properly reset orientation exif if corrected (#545) (ad8c325)
  • camera: query IMAGE_CAPTURE intent required by SDK 30 (#160) (6484991)
  • camera: Remove capture attribute from multiple photo picker (#687) (e551ef7)
  • camera: Remove unused saveCall (#401) (95920da)
  • camera: Reset exif orientation if corrected (#510) (a65c05e)
  • camera: Resize not respecting aspect ratio on iOS (#568) (ea2b801)
  • camera: return original image if editing is cancelled (#566) (4786841)
  • camera: Return proper exif when picking multiple images (#712) (8451237)
  • camera: return single picture on pickImages (#783) (9d65db1)
  • camera: saveToGallery for edited images (#602) (b5ac27d)
  • camera: set camera direction for web (#665) (4afedb9)
  • camera: Use Locale.ROOT on toUpperCase (#812) (6d689ac)
  • add es2017 lib to tsconfig (#180) (2c3776c)
  • correct addListeners links (#655) (f9871e7)
  • Correct missing source_files path (#590) (24e0fc2)
  • inline source code in esm map files (#760) (a960489)
  • remove postpublish scripts (#656) (ed6ac49)
  • camera: return file URL for path, not system path (#170) (8a9e5c3)
  • camera: Return the full webPath (#502) (e849732)
  • camera: set settings again on callbacks (#595) (908bd68)
  • support deprecated types from Capacitor 2 (#139) (2d7127a)

Features

  • set targetSDK default value to 31 (#824) (3ee10de)
  • set targetSDK default value to 32 (#970) (fa70d96)
  • Upgrade gradle to 7.4 (#826) (5db0906)
  • Use java 11 (#910) (5acb2a2)
  • android: implements Activity Result API changes for permissions and activity results (#222) (f671b9f)
  • camera: Add new method for multiple image picking from gallery (#671) (a49c590)
  • camera: Return if image was saved to gallery (#599) (594af3b)
  • camera: Support for 1 Gallery app (#791) (77e8c97)
  • camera: Support for Samsung Gallery app on pickImages (#706) (fd059fc)
  • camera: use a distinguishable permission denied string for camera and photos (#379) (c71657f)
  • camera: Use same error messages for permission deny (#404) (fffcd47)
  • add commonjs output format (#179) (8e9e098)
  • Camera plugin (#33) (4864928)

1.3.1 (2022-03-03)

Bug Fixes

  • camera: Return the image on dismiss completion (#849) (f083841)

1.3.0 (2022-02-10)

Bug Fixes

  • camera: process picked image only once (#782) (897dcaf)
  • camera: return single picture on pickImages (#783) (9d65db1)
  • camera: Use Locale.ROOT on toUpperCase (#812) (6d689ac)

Features

  • camera: Support for 1 Gallery app (#791) (77e8c97)
  • camera: Support for Samsung Gallery app on pickImages (#706) (fd059fc)

1.2.4 (2022-01-19)

Bug Fixes

1.2.3 (2022-01-10)

Bug Fixes

  • camera: set camera direction for web (#665) (4afedb9)

1.2.2 (2021-12-08)

Bug Fixes

  • camera: Return proper exif when picking multiple images (#712) (8451237)

1.2.1 (2021-11-17)

Bug Fixes

  • camera: Don't save gallery images on iOS 14+ (#696) (7b2cc88)
  • camera: Remove capture attribute from multiple photo picker (#687) (e551ef7)

1.2.0 (2021-11-03)

Features

  • camera: Add new method for multiple image picking from gallery (#671) (a49c590)

1.1.2 (2021-10-14)

Bug Fixes

1.1.1 (2021-10-13)

Bug Fixes

1.1.0 (2021-09-15)

Bug Fixes

  • camera: saveToGallery for edited images (#602) (b5ac27d)
  • camera: set settings again on callbacks (#595) (908bd68)

Features

  • camera: Return if image was saved to gallery (#599) (594af3b)

1.0.5 (2021-09-01)

Bug Fixes

  • Correct missing source_files path (#590) (24e0fc2)
  • camera: cleanup camera images if not needed (#563) (a2e4f43)
  • camera: Resize not respecting aspect ratio on iOS (#568) (ea2b801)
  • camera: return original image if editing is cancelled (#566) (4786841)

1.0.4 (2021-08-18)

Bug Fixes

  • camera: avoid error if image has no orientation (#554) (dc8a55a)
  • camera: Make allowEdit work on all devices (#552) (5224177)
  • camera: Properly reset orientation exif if corrected (#545) (ad8c325)

1.0.3 (2021-07-07)

Bug Fixes

  • camera: Reset exif orientation if corrected (#510) (a65c05e)
  • camera: Return the full webPath (#502) (e849732)

1.0.2 (2021-06-23)

Bug Fixes

1.0.1 (2021-06-09)

Note: Version bump only for package @capacitor/camera

1.0.0 (2021-05-19)

Bug Fixes

  • camera: decode content uri when retrieving image from gallery (#277) (a6cd1ad)
  • camera: Remove unused saveCall (#401) (95920da)

Features

  • camera: use a distinguishable permission denied string for camera and photos (#379) (c71657f)
  • camera: Use same error messages for permission deny (#404) (fffcd47)

0.4.7 (2021-05-11)

Note: Version bump only for package @capacitor/camera

0.4.6 (2021-05-10)

Note: Version bump only for package @capacitor/camera

0.4.5 (2021-05-07)

Note: Version bump only for package @capacitor/camera

0.4.4 (2021-04-29)

Note: Version bump only for package @capacitor/camera

0.4.3 (2021-03-10)

Note: Version bump only for package @capacitor/camera

0.4.2 (2021-03-02)

Note: Version bump only for package @capacitor/camera

0.4.1 (2021-02-27)

Note: Version bump only for package @capacitor/camera

0.4.0 (2021-02-10)

Features

  • android: implements Activity Result API changes for permissions and activity results (#222) (f671b9f)

0.3.2 (2021-02-05)

Note: Version bump only for package @capacitor/camera

0.3.1 (2021-01-26)

Note: Version bump only for package @capacitor/camera

0.3.0 (2021-01-14)

Note: Version bump only for package @capacitor/camera

0.2.0 (2021-01-13)

Bug Fixes

Features

0.1.4 (2021-01-13)

Note: Version bump only for package @capacitor/camera

0.1.3 (2021-01-08)

Bug Fixes

  • camera: return file URL for path, not system path (#170) (8a9e5c3)

0.1.2 (2020-12-28)

Bug Fixes

  • camera: fix camera source on Android (#164) (e67f7c6)

0.1.1 (2020-12-27)

Bug Fixes

  • camera: query IMAGE_CAPTURE intent required by SDK 30 (#160) (6484991)

0.1.0 (2020-12-20)

Bug Fixes

  • support deprecated types from Capacitor 2 (#139) (2d7127a)

Features