Originally created by @charles-toller on GitHub (Mar 23, 2024).
### Steps to reproduce
1. Start playback of an audiobook book in the iOS
2. Pause playback
3. Disconnect Bluetooth headphones (specific model in my case being Google Pixel Buds Pro)
### Expected behaviour
- Audio should stay paused
### Actual behaviour
- Audio playback resumes through speakers
### Environment data
Audiobookshelf Version:
- [ ] Android App?
- [x] iOS App?
#### iOS Issue
(Using the macOS/iOS Apple Silicon integration)
iOS Version: macOS 14.2.1 (23C71)
iPhone model: MacBook with M1 Pro chip
I suspect the issue is here: https://github.com/advplyr/audiobookshelf-app/blob/3c6d4b5f1917c235ee03f545e4a72de75ee60153/ios/App/Shared/player/AudioPlayer.swift#L612, my headphones send a "pause" command when they're placed back in the case, which Audiobookshelf is treating as Pause/Play. Switching this to support the [pause/play/stop/togglePlayPause commands](https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter) may resolve it, but I don't have an iOS dev setup right now to test that fix.
adam
added the bugiOS labels 2026-04-24 23:42:38 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @charles-toller on GitHub (Mar 23, 2024).
Steps to reproduce
Expected behaviour
Actual behaviour
Environment data
Audiobookshelf Version:
iOS Issue
(Using the macOS/iOS Apple Silicon integration)
iOS Version: macOS 14.2.1 (23C71)
iPhone model: MacBook with M1 Pro chip
I suspect the issue is here: https://github.com/advplyr/audiobookshelf-app/blob/3c6d4b5f1917c235ee03f545e4a72de75ee60153/ios/App/Shared/player/AudioPlayer.swift#L612, my headphones send a "pause" command when they're placed back in the case, which Audiobookshelf is treating as Pause/Play. Switching this to support the pause/play/stop/togglePlayPause commands may resolve it, but I don't have an iOS dev setup right now to test that fix.