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-blobto 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
onErrorProcessingImagecallback to report errors in the capture process. -
Fixes an issue in android where the rectangle was rotated incorrectly