-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fatal Exception: NSInternalInconsistencyException and terminated the app #282
Comments
Additional Information: I tested the package with different versions, and here are the results:
It seems the issue was introduced in version 8.10.0. This additional information can help the contributors identify the source of the problem between the two versions. |
Sorry for the late reply. I'll check it out on iOS 18 version. |
Take your time ✌🏻 |
Version 8.10.2 has been published. Please check and let me know if there are any problems. |
I just tested the app and found a major bug. The app is running twice in the background, for ex: causing the API to be called twice simultaneously. |
It seems to work fine in the example(counter, location, record, internal_plugin etc)... Are you using service APIs in your app lifecycle? I would appreciate it if you could tell me what plugins you use and test scenarios. It would be more helpful if you could provide a sample project to reproduce the problem. |
Hi @Dev-hwang, I have created an app to demonstrate the issue. You can test it by checking out the repository here: GitHub Repo. In the app, if you use |
Version 8.10.4 has been published. 8.10.4
This issue seems to have occurred in version 8.10.2. I think this issue was a fatal error for users who did not implement TaskHandler. Thank you for reporting the issue 😁 |
Hello @Dev-hwang, I have tested this version, and it is stable at the moment. If any issues arise, I can open a new issue. Thanks ❤️🎉 |
I'm experiencing a crash when using the
flutter_foreground_task
package on iOS. The crash appears in Firebase console logs with the following exception:The issue seems to be related to the generated plugin registrant or
flutter_foreground_task
, and it's causing a crash during the app's lifecycle.Steps to Reproduce:
flutter_foreground_task
in a Flutter project.Expected Behavior:
The app should run without crashing.
Actual Behavior:
The app crashes with the
NSInternalInconsistencyException
. And the app is terminated and close.Additional Information:
flutter_foreground_task
version: 8.10.0The threads if u want
Please let me know if you need more information or if there are any workarounds for this issue. Thanks for your help!
The text was updated successfully, but these errors were encountered: