ios-sdk icon indicating copy to clipboard operation
ios-sdk copied to clipboard

Apps using the spotify IOS SDK are suspended while in the background

Open rtessler opened this issue 3 years ago • 1 comments

Shortly after going into the background my app is suspended by IOS At this point I have lost control over spotify playback Background mode capability is enabled in Xcode and the app store I have tried playing a silent audio using another audio package while playing tracks using the spotify SDK, making geolocation requests every 10 seconds, to no avail as the app is still suspended The spotify IOS SDK is not of use to me if I cannot control it while in the background This problem does not occur while using other audio streaming APIs. I would ask spotify to create a new streaming API to prevent this problem

rtessler avatar Dec 25 '22 11:12 rtessler

This is how Spotify Connect works. It seems to automatically disconnect after 30 seconds. There's nothing we can do about this using the Spotify SDK

monkeyRing avatar Sep 19 '23 11:09 monkeyRing