Open toufeeqahamedns opened 2 years ago
@toufeeqahamedns , One thing I just learned yesterday about scanning on iOS is that if you configure the scanner to detect both 2D and 1D codes (like QR and Code128), it will only detect the 1D code when it is in the center of the screen. This is a peculiarity of AVFoundation on iOS, not this plugin specifically. So if you move the rect away from the center and you configure both 2D and 1D codes, your 1D codes will not be detected inside the rect.
Is this PR still something to be merged for v2? There are conflict currently and I am unsure at which state I left off.
Hey liked the performance of the plugin.
Have added optional param to set CutOut Center, Height and Width.
This would help in positioning the CutOut any where on the screen and size the cutout with any width and height
Also, I have added assertions so that the CutOut won't overflow to the sides.
Hope this gets merged