5.0.0 (2022-06-09)
The plugin has been updated to Capacitor 5, it's not compatible with older versions of Capacitor, see README.md for information about what versions of the plugin to use in previous Capacitor releases.
- fix(web): Remove deprecated registerWebPlugin (https://github.com/capacitor-community/camera-preview/pull/288[)](https://github.com/capacitor-community/camera-preview/commit/1bcb0e38cb63aafe0ba56e67e89ee09ab4582468)
- fix: Add types for startRecordVideo and stopRecordVideo (https://github.com/capacitor-community/camera-preview/pull/295[)](https://github.com/capacitor-community/camera-preview/commit/2fdbc4b881e7a7858679f460457276fd68915e46)
- feat!: Add Capacitor 5 support (https://github.com/capacitor-community/camera-preview/pull/283[)](https://github.com/capacitor-community/camera-preview/commit/9de932700b89ccbb3dba22f75fc49f3f8243f4b4)
- feat(android): Add androidxExifInterfaceVersion variable (https://github.com/capacitor-community/camera-preview/pull/291[)](https://github.com/capacitor-community/camera-preview/commit/1c18015dd347cbdcb20f3fef3d9f0f264d9d633f)
- feat: add commonjs output format (https://github.com/capacitor-community/camera-preview/pull/287[)](https://github.com/capacitor-community/camera-preview/commit/a88351453b4298278156751df8fb0fa9807d5e4d)
4.0.0 (2022-09-20)
- Capacitor 4 is required. Thanks to @rdlabo for the patch and @EinfachHans for testing.
3.1.2 (2022-08-29)
- [Android] preview not resized and displayed correctly when orientation changes by @ryaa in capacitor-community#238
3.1.1 (2022-08-13)
- feat: respect width, height and quality options on the web implementation by @julian-baumann in capacitor-community#231
- chore(deps): bump eventsource from 1.0.7 to 1.1.1 in /demo by @dependabot in capacitor-community#226
- chore(deps): bump terser from 4.8.0 to 4.8.1 in /demo by @dependabot in capacitor-community#239
- bugfix: fixed resource android:attr/lStar not found build error by @ryaa in capacitor-community#229
- Fix wrong return type on
flip
andsetFlashMode
by @diesieben07 in capacitor-community#234 - doc: update the web instructions by @riderx in capacitor-community#245
- bugfix: fixed the problem when photos taken in the landscape orientation are off by @ryaa in capacitor-community#235
3.1.0 (2022-05-27)
- Add code formatters. This is an early release and there are issues with the Swift and Typescript formatters. Can you help? Thank you to contributor @pbowyer! (#208)
- chore(deps): bump async from 2.6.3 to 2.6.4 in /demo (#217)
- chore(deps): bump minimist from 1.2.5 to 1.2.6 (#225)
-
[iOS] Fix camera display on iOS when rotated after opening in landscape. Thank you to contributor @mattczech for the patch (#130) and @riderx who resolved the merge conflict (#216).
-
[iOS] Fixed microphone permissions request on iOS. Thank you to contributor @mstichweh! (#219)
-
[Android] Fixex prevent camera is not running error. Thank you to contributor @ryaa! (#223)
3.0.0 (2022-03-27)
The version number has increased in line with Semver as there's one backwards-incompatible change for Android.
2.1.0 (2022-03-06)
- Add pinch and zoom support on iOS. Thank you to contributors @luckyboykg and @guischulz! (#204)
- Add info on styling when the camera preview doesn't display because it's behind elements. Thank you to contributor @dhayanth-dharma!
- Fix deprecated imports in README. Thank you to contributor @koen20!
- Document the iOS-only
enableHighResolution
option. Thank you to contributor @bfinleyui! (#207)