cordova-plugin-camera-preview
Advanced tools
Comparing version 0.12.1 to 0.12.2
# Changelog | ||
## MASTER BRANCH (RECOMMENDED) - UNRELEASED | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.12.2...master) | ||
- Nothing yet | ||
## v0.12.1 - Oct 21, 2020 - LATEST RELEASED VERSIO | ||
## v0.12.2 - Apr 15, 2021 - LATEST RELEASED VERSION | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.12.1...v0.12.2) | ||
- [#644](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/644) - Resolve issues with `toBack: true` not showing below the HTML layer | ||
- [#639](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/639) - Typescript definition fix | ||
- [#633](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/633) - Fix app crash with `startRecordVideo` after allowing the `RECORD_AUDIO` permission prompt. | ||
- [#630](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/630) - For Android, make both camera and autofocus non-required for the library. This is an application level concern. | ||
## v0.12.1 - Oct 21, 2020 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.12.0...v0.12.1) | ||
- [#624](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/issues/624) - Remove unused coefficient argument from the `calculateTapArea` method of the Android code | ||
@@ -12,2 +21,3 @@ - [#619](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/619) - Fix compiler errors in startRecordVideo by declaring final variables | ||
## v0.12.0 - May 4, 2020 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.11.2...v0.12.0) | ||
- [#605](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/605) - Improve memory usage when capturing multiple photos for both Android and iOS | ||
@@ -19,2 +29,3 @@ - [#587](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/587) - Add video recording functionality for Android | ||
## v0.11.2 - February 12, 2020 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.11.1...v0.11.2) | ||
- [#582](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/582) - Add support for Android devices without Autofocus which can increase the amount of devices for which app installation is allowed by about (~4k at time of) | ||
@@ -24,2 +35,3 @@ - [#583](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/583) - Fix typescript error CameraPreview.d.ts is not a module | ||
## v0.11.1 - November 19, 2019 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.11.0...v0.11.1) | ||
- [#573](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/573) - Fetch number of cameras immediately before switching cameras in Android | ||
@@ -30,2 +42,3 @@ - [#428](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/issues/428) - Fix mispelling of `continuous` within iOS source code for focus modes (was `cotinuous` before) | ||
## v0.11.0 - May 20, 2019 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.10.0...v0.11.0) | ||
- [#525](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/525) - Add function `takeSnapshot` for quick image captures | ||
@@ -39,2 +52,3 @@ - [#441](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/pull/441) - Add android only option `storeToFile` for storage in temporary file instead of base64 | ||
## v0.10.0 - June 13, 2018 | ||
- [View Diff](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview/compare/v0.9.0...v0.10.0) | ||
- Merge in features and fixes from various forks | ||
@@ -41,0 +55,0 @@ |
{ | ||
"name": "cordova-plugin-camera-preview", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "Cordova plugin that allows camera interaction from HTML code for showing camera preview below or on top of the HTML.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -538,3 +538,3 @@ # Cordova Plugin Camera Preview | ||
```javascript | ||
var opt = { | ||
var opts = { | ||
cameraDirection: CameraPreview.CAMERA_DIRECTION.BACK, | ||
@@ -541,0 +541,0 @@ width: (window.screen.width / 2), |
@@ -53,3 +53,3 @@ declare module 'cordova-plugin-camera-preview' { | ||
startRecordVideo(options?:any|CameraPreviewSuccessHandler, onSuccess?:CameraPreviewSuccessHandler|CameraPreviewErrorHandler, onError?:CameraPreviewErrorHandler):void; | ||
stopRecordVideo(CameraPreviewSuccessHandler, onSuccess?:CameraPreviewSuccessHandler|CameraPreviewErrorHandler, onError?:CameraPreviewErrorHandler):void; | ||
stopRecordVideo(onSuccess?:CameraPreviewSuccessHandler, onError?:CameraPreviewErrorHandler):void; | ||
getMaxZoom(onSuccess?: CameraPreviewSuccessHandler, onError?: CameraPreviewErrorHandler): void; | ||
@@ -56,0 +56,0 @@ getSupportedFocusMode(onSuccess?: CameraPreviewSuccessHandler, onError?: CameraPreviewErrorHandler): void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
350710