Bug description:
In first opening the app, there is no event coming from event channel. But it must come, I moved methodChannel start invoke method line to below eventChannel broadcast stream and now the event coming.
How to reproduce:
1- Turn off wifi and cellular.
2- And try to ping any url.
3- Now start the app, you will not receive any event from Ping(...).stream.listen;
4- Hot restart the app, now your code will work and you will get event unknownHost
Bug description: In first opening the app, there is no event coming from event channel. But it must come, I moved methodChannel start invoke method line to below eventChannel broadcast stream and now the event coming.
How to reproduce: 1- Turn off wifi and cellular. 2- And try to ping any url. 3- Now start the app, you will not receive any event from Ping(...).stream.listen; 4- Hot restart the app, now your code will work and you will get event unknownHost
iPhone 7 Plus, iOS 15.5, Flutter 3.0.2 Stable