Skip to content

[iOS] Background audio may not pause #25

Description

@giantorth

Begin playing audio and navigate to another application for several minutes. When attempting to pause using media controls audio does not stop. Returning to application and play/stop button no longer halts music playback and application must be killed to stop playback.

This doesn’t seem to happen every time but I’ve triggered it at least 3x now so not infrequent. I suspect iOS does some kind of background unloading of a music player after a period of time.

Activity

  1. stijnvdb88 commented on Apr 9, 2021

    @stijnvdb88
    Owner

    Hi! Thanks a lot for this, it's really helpful. I'm not an iOS user myself so I really have no way of finding issues like this one without someone reporting them :)

    About the issue itself, the one device I have available to me for testing does not seem to suffer from it, so this might take a bit of back and forth to fix. Would you be prepared to help me test this? I could add you on TestFlight, giving you access to beta builds.

  2. giantorth commented on Apr 12, 2021

    @giantorth
    Author

    Using the latest test flight build I can always trigger the following sequence:

    1. Start playback audio
    2. Leave application
    3. Pause with media controls
    4. Resume with media controls
    5. Playback cannot be paused again without terminating the app
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions