-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI freezes after capturing photo on iOS #19
Comments
Hello, after iOS 14 release, I didn't have the chance to do any testing regarding this package because I don't have any access to a mac device although I'm sure there is couple of bugs that need fixing. |
I see. Yes, I made sure that I did handle them. This is a better rewrite of the original react native package: https://github.com/HarvestProfit/react-native-rectangle-scanner The maintainer claims that the original package has old iOS code with lots of memory leaks. I'll probably look into creating a Flutter wrapper for it when I have time. |
Hello @eliasteeny is there any update regarding this topic? |
Hello @amirhasanovic, unfortunately there isn’t any new update. I still don’t have any access to a macintosh machine to test and fix this bug. |
@eliasteeny thanks for your response. I have sent you an email via the address that I found on your website. Hope to hear more from you. |
Hi, Did you ever find a work around for this on iOS? |
I suspect this bug is related to CIContext, code will work fine if no work of CIImage/CIFilter is involved (i.e. not rendering the final output), I fixed this by moving the image rectifying code into dart using dart_image library, slow as hell but at least working. |
The UI gets stuck after capturing a photo on iOS 14.7.1 (not sure about other versions) and no errors are reported, but if I launch the app again from Xcode when I already have it installed it starts working. However if I uninstall it then install it again the same issue occurs.
I paused the debugger while it was frozen and the debugger gave me the following location in the code. It seems to be related to the image context or the
drawInRect
function:I'd be happy to help but I've never done any native iOS development so it'll take a while for me so i'd be very grateful if you could look into this.
The text was updated successfully, but these errors were encountered: