You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Observatory port closed when iOS device goes to sleep #4988
If possible, it would be really helpful to keep the Observatory port open even if the iOS device goes to sleep.
There doesn't seem to be a way to re-establish an Observatory connection after the device goes to sleep. Which means, if I spend a few minutes exploring Observatory's Web UI, and my iOS device goes to sleep, I need to rebuild (flutter run --profile), get a new port number, and start my profiling all over.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
sethladd commentedon Jul 21, 2016
cc @johnmccutchan
johnmccutchan commentedon Jul 21, 2016
@chinmaygarde Any idea why iOS is shutting down the port?
Hixie commentedon Nov 7, 2017
Is this still an issue?
Hixie commentedon Dec 20, 2017
I assume this is still an issue, and it's therefore likely to be seen by many users on iOS, so I'm leaving it in the current milestone.
Hixie commentedon Jan 26, 2018
Punting to next milestone since this isn't a blocker for new users, it can be worked around.
Roll engine to 0c09bf0.
Roll engine to 0c09bf0. (#16668)
Roll engine to 0c09bf0. (flutter#16668)
xster commentedon Oct 23, 2018
#9351 will partly alleviate this but we can't keep the port open indefinitely using available iOS APIs.
github-actions commentedon Aug 17, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.