-
Notifications
You must be signed in to change notification settings - Fork 136
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
App crashes on iOS Device #29
Comments
could you run the code in xcode on an iOS emulator and post the error from the xcode console? Most of the time the "Lost connection to device" error is a native error. If there is no error, could you check if the simulator closes the app due to a too high cpu usage. |
I think the prob is with the compute function and how it was called. My solution was since you don't have the power to terminate the compute function create an isolate Worker class to spin up an isolate which you can dispose after using the image filter module. My app no longer crashes |
@Mangielijah Thanks for the fix. It will be very helpful if you can create a pull request with the changes. Thanks in advance |
How did you make the isolation? I choose the photo from the album, then I exit the screen and return to the previous screen, I choose from the album again, it explodes. |
It's not working for me in iPhone 5s, it simply showing the screen (at some times) and destroys the app automatically |
The app Crashed on clicking The floating action button to select image in example project.
No error was thrown.
The complete debug console log is here:
`Launching lib/main.dart on iPhone S in debug mode...
Xcode build done. 66.6s
Connecting to VM Service at ws://127.0.0.1:52406/Nm_PiFrIudM=/ws
Lost connection to device.
Exited
(sigterm)`
The text was updated successfully, but these errors were encountered: