Skip to content

Observatory port closed when iOS device goes to sleep #4988

Closed

Description

@sethladd

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.

Thanks for any help here! :)

Activity

  1. sethladd commented on Jul 21, 2016

    @sethladd
    ContributorAuthor
  2. johnmccutchan commented on Jul 21, 2016

    @johnmccutchan
    Contributor

    @chinmaygarde Any idea why iOS is shutting down the port?

  3. modified the milestone: on Sep 12, 2016
  4. modified the milestones: , on Jan 31, 2017
  5. Hixie commented on Nov 7, 2017

    @Hixie
    Contributor

    Is this still an issue?

  6. Hixie commented on Dec 20, 2017

    @Hixie
    Contributor

    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.

  7. modified the milestones: 3: Current Milestone, on Jan 26, 2018
  8. Hixie commented on Jan 26, 2018

    @Hixie
    Contributor

    Punting to next milestone since this isn't a blocker for new users, it can be worked around.

  9. added a commit that references this issue on Apr 17, 2018
  10. added a commit that references this issue on Apr 17, 2018
  11. added a commit that references this issue on May 14, 2018
  12. xster commented on Oct 23, 2018

    @xster
    Member

    #9351 will partly alleviate this but we can't keep the port open indefinitely using available iOS APIs.

  13. github-actions commented on Aug 17, 2021

    @github-actions

    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.

  14. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions