ardera / flutter-pi

A light-weight Flutter Engine Embedder for Linux Embedded that runs without X11 or Wayland.
MIT License
1.59k stars 159 forks source link

Flutter App crashes #244

Closed DariusBotha95 closed 2 years ago

DariusBotha95 commented 2 years ago

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 commented 2 years ago

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