Skip to content

Flutter App crashes #244

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

Closed
DariusBotha95 opened this issue Apr 19, 2022 · 1 comment
Closed

Flutter App crashes #244

DariusBotha95 opened this issue Apr 19, 2022 · 1 comment

Comments

@DariusBotha95
Copy link

Good day @ardera,

I wonder if you could maybe help me. First of all, thank you for the work you have done on flutter-pi, it truly is amazing to run Flutter apps on a Raspberry Pi.

I am developing an app that connects to an MQTT broker and then uses that data to display some widgets. When I'm running the app on my windows machine, it runs and works correctly, the same holds true for the app using flutter-pi. The issue comes when I disconnect the network cable (to test the robustness) and after some time plug, it back into the pi, the app (I'm assuming tries to reconnect to the broker etc) but then the app will crash back to the terminal without any errors/logs.

Is there any way for me to see why it crashes? Because I tried to replicate the issue on my PC but the app will not crash. It, therefore, makes it difficult to know whether there is a flaw with my code or if there is something that flutter-pi doesn't like or a timeout that occurs?

Any help will be appreciated, thank you.

Kind regards,
Darius

@DariusBotha95
Copy link
Author

Closing as it is not related to the engine :) sorry for the trouble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant