Skip to content

Releases: Yoonit-Labs/nativescript-yoonit-camera

v1.5.4

17 Nov 11:41
Compare
Choose a tag to compare

🐛 Bug Fix

  • [Android] Change face detected coordinates from pixel to dpi;

v1.5.3

12 Nov 13:53
Compare
Choose a tag to compare

🐛 Bug Fix

  • [iOS] Fix handle events when app active from background;

⬆️ Upgrade Dependencies

  • ios-yoonit-camera update from 1.3.1 to 1.3.2;

v1.5.2

11 Nov 15:03
Compare
Choose a tag to compare

🐛 Bug Fix

  • [iOS] Prevent to start preview if already running preview;

⬆️ Upgrade Dependencies

  • ios-yoonit-camera update from 1.3.0 to 1.3.1;

v1.5.1

09 Nov 19:30
Compare
Choose a tag to compare

🐛 Bug Fix

  • [iOS] Fix file image path to read file image content;

v1.5.0

09 Nov 12:19
Compare
Choose a tag to compare

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 send KeyError constants.
  • The event onMessage send Message 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 to v1.3.0;
  • ios-yoonit-camera update from 1.2.0 to 1.3.0;

v1.4.1

06 Nov 15:15
Compare
Choose a tag to compare

🐛 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

04 Nov 19:24
Compare
Choose a tag to compare

🐛 Bug Fix

  • Fix package build to use in a NativeScript project;

🔧 Update Configuration File

  • Update src/tsconfig.json;

➕ Add Dependencies

v1.3.0

04 Nov 14:06
Compare
Choose a tag to compare

🚀 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 to v1.2.0;
  • ios-yoonit-camera update from 1.1.0 to 1.2.0;

v1.2.1

04 Nov 13:51
Compare
Choose a tag to compare

🐛 Bug Fix

  • Fix on node package manager files deploy;

v1.2.0

29 Oct 20:54
Compare
Choose a tag to compare

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 to v1.1.0;
  • ios-yoonit-camera update from 1.0.3 to 1.1.0;