Releases: HarvestProfit/react-native-rectangle-scanner
Version 1.0.10
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
Adds
- Typescript typings
Fixes
- iOS start and stop preview no longer blocks UI thread
Version 1.0.8
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
Version 1.0.6
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 exportCACHE_FOLDER_NAME
). This allows using something likern-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
Production Ready Release.