Releases: Yoonit-Labs/nativescript-yoonit-camera
Releases · Yoonit-Labs/nativescript-yoonit-camera
v1.5.4
🐛 Bug Fix
- [Android] Change face detected coordinates from pixel to dpi;
v1.5.3
🐛 Bug Fix
- [iOS] Fix handle events when app active from background;
⬆️ Upgrade Dependencies
- ios-yoonit-camera update from
1.3.1
to1.3.2
;
v1.5.2
🐛 Bug Fix
- [iOS] Prevent to start preview if already running preview;
⬆️ Upgrade Dependencies
- ios-yoonit-camera update from
1.3.0
to1.3.1
;
v1.5.1
🐛 Bug Fix
- [iOS] Fix file image path to read file image content;
v1.5.0
✨ New Feature
- Limit face capture setting minimum face width size percentage in relation with the camera preview;
- Limit face capture setting maximum face width size percentage in relation with the camera preview;
⚡ Improvements
Create a pattern to the errors and messages events:
- The event
onError
sendKeyError
constants. - The event
onMessage
sendMessage
constants.
Add input validations in the methods:
setFaceNumberOfImages
: cannot be negative;faceTimeBetweenImages
: cannot be negative;setFacePaddingPercent
: cannot be negative;setFaceImageSize
: cannot be negative;setFaceCaptureMinSize
: must be in the [0, 1] interval;setFaceCaptureMaxSize
: must be in the [0, 1] interval;setFrameNumberOfImages
: cannot be negative;setFrameTimeBetweenImages
: cannot be negative;
📝 Update Readme
- Add method
setFaceCaptureMinSize
; - Add method
setFaceCaptureMaxSize
;
Add KeyError
definitions (used by onError
):
NOT_STARTED_PREVIEW
: Tried to start a process that depends on to start the camera preview;INVALID_CAPTURE_TYPE
: Tried to start a non-existent capture type;INVALID_FACE_NUMBER_OF_IMAGES
: Tried to input invalid face number of images to capture;INVALID_FACE_TIME_BETWEEN_IMAGES
: Tried to input invalid face time interval to capture face;INVALID_FACE_PADDING_PERCENT
: Tried to input invalid face padding percent;INVALID_FACE_IMAGE_SIZE
: Tried to input invalid image width or height;INVALID_FACE_CAPTURE_MIN_SIZE
: Tried to input invalid face capture minimum size;INVALID_FACE_CAPTURE_MAX_SIZE
: Tried to input invalid face capture maximum size;INVALID_FRAME_NUMBER_OF_IMAGES
: Tried to input invalid frame number of images to capture;INVALID_FRAME_TIME_BETWEEN_IMAGES
: Tried to input invalid frame time interval to capture face;
Add Message
definitions (used by onMessage
):
INVALID_CAPTURE_FACE_MIN_SIZE
: Face bounding box width percentage in relation of the screen width is less than the setted (setFaceCaptureMinSize
);INVALID_CAPTURE_FACE_MAX_SIZE
: Face bounding box width percentage in relation of the screen width is more than the setted (setFaceCaptureMaxSize
);
⬆️ Upgrade Dependencies
- android-yoonit-camera update from
v1.2.0
tov1.3.0
; - ios-yoonit-camera update from
1.2.0
to1.3.0
;
v1.4.1
🐛 Bug Fix
- Remove set camera event listener when dispose the view;
⚡ Improvement
- Build an object (
{ path, source, binary }
) of the face & frame image on receiving event.
v1.3.1
v1.3.0
🚀 Compatibility with NativeScript 7
🐛 Bug Fix
- Fix importing error on
VueJS Plugin
; - [iOS] Fix face image created event;
📝 Update Readme
- Add detailed package information details: NativeScript 7, available for Android, available for iOS and download per month;
⬆️ Upgrade Dependencies
- android-yoonit-camera update from
v1.1.1
tov1.2.0
; - ios-yoonit-camera update from
1.1.0
to1.2.0
;
v1.2.1
v1.2.0
✨ New Feature
- Capture Type Frame: Add a new camera capture, now the it is possible to capture a number/unlimited camera frames.
🐛 Bug Fix
- [iOS] Fix create face image counter.
📝 Update Readme
- Add method
setFrameNumberOfImages
; - Add method
setFrameTimeBetweenImages
; - Add event
frameImage
;
⬆️ Upgrade Depedencies
- android-yoonit-camera update from
v1.0.2
tov1.1.0
; - ios-yoonit-camera update from
1.0.3
to1.1.0
;