-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Crash when pushing the app into the background and pulling it back into the foreground #65
Comments
I also tested the example project with the following steps, and it crashed:
|
Hey, Your code seems correct. Is the error detailed in #65 (comment) the same you're describing in your first message ? |
No, when using I guess the crash is because of the release build, that's why I tested the example project by changing I have pushed a repo so that you can reproduce the bug I described here #65 (comment) https://github.com/ctwdtw/bonsoir_report please have a look, thanks. |
Just tried to reproduce the bug thanks to your repo (https://github.com/ctwdtw/bonsoir_report), but the "push to background" - "pull into foreground" sequence doesn't seem to produce any crash, in debug mode at least. |
Yes, it does not crash in debug mode. As I pointed out in |
Just reproduced your bug, and I get the following message :
It seems that we're trying to send a |
Hello,
After this, Bonsoir does not work properly. Is this a condition that needs to be managed, or is it a bug? |
@olerhan I don't know about this one. Does it happen with the example app ? |
Describe the bug
Crash when pushing the app into the background and pulling it back into the foreground
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should not crash, when I comment out the code inside
Future<void> init() async {}
, it did not crashScreenshots
N/A
Desktop (please complete the following information):
Not Testing
Smartphone (please complete the following information):
Additional context
I am not sure if I'm using Bonsoir in the correct way. My use case is the following:
MY_DEVICE_PREFIX
MY_DEVICE_PREFIX
(which could be none)If I understand Bonsoir's behavior correctly, I think the above requirements can be imp. as a singleton. However, even if I update
Bonsoir to 4.0.0, the discovering behavior seems still not stable. I may open another issue to describe it. Thank you.
The text was updated successfully, but these errors were encountered: