Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Releases: HarvestProfit/react-native-rectangle-scanner

Version 1.0.10

03 Apr 21:32
Compare
Choose a tag to compare

Updates

  • Fixes Android autofocus allowing for faster capture
  • Adds focus() function to manually call camera focus (currently a noop on iOS because all devices are continuous focus)
  • Removes deprecated NDK flag
  • Allows changing the permission title/message stuff on android, or disabling it altogether.

Version 1.0.9

11 Mar 20:39
7231659
Compare
Choose a tag to compare

Adds

  • Typescript typings

Fixes

  • iOS start and stop preview no longer blocks UI thread

Version 1.0.8

14 Feb 16:10
61f0b6c
Compare
Choose a tag to compare

Fixes

  • Android captured image wasn't correct correctly due to resolution size differences
  • Android initialImage was incorrectly rotated
  • Android initialImage did not have filters applied to it

Contributions and Shoutouts

  • @YUstynov and @adrianocola for discovering the resolution size issues on android and helping test out the fixes.

Version 1.0.7

24 Jan 21:39
c486f40
Compare
Choose a tag to compare

Fixes

  • Crash on iOS. CI/CG image issues. See #9
  • Fixes memory leak due to CGImages not being released #9
  • Cleans up Android dependencies, making things a bit more streamlined #10

Adds

  • Auto rotate image based on device orientation and ui orientation (iOS only) #11
  • Auto Capture using the rectangle overlay component #12

Version 1.0.6

15 Jan 23:18
9985486
Compare
Choose a tag to compare

This version fixes android preview aspect ratio stretching.

Important updates since the v1.0.0 tag include:

  • Changes storage location to the cache directory under the folder name RNRectangleScanner (available via export CACHE_FOLDER_NAME). This allows using something like rn-fetch-blob to clear the cache folder OTHERWISE YOU WILL BE STORING ALL THE CAPTURED PHOTOS YOU HAVE EVER TAKEN. This is a bug I noticed with a lot of the scanner variations out there.

  • If a rectangle is not found, the original and cropped image path will reference the same image. This is faster and more efficient

  • Runs the iOS capture code in a different thread (doesn't freeze the preview)

  • Fixes an issue in iOS when converting a CIImage to a UIImage (fails to save the preview)

  • Includes a onErrorProcessingImage callback to report errors in the capture process.

  • Fixes an issue in android where the rectangle was rotated incorrectly

Version 1.0.0

06 Jan 20:52
Compare
Choose a tag to compare

Production Ready Release.