Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
We have a significant issue with my dev team related to in app playback of music from user's connecting their Spotify account to our app. We are using the most recent Spotify iOS SDK (and Web API for some things too) and the devs say that this only allows for "remote-control" of the Spotify player. So if I play a song inside our app (Resonate) and then look at Spotify, same song is playing. And if I change song on Spotify player, then that changes what's playing in Resonate. This is a serious limitation that we do not want. But the devs say this is the only thing the iOS Spotify SDK allows ... which makes no sense to me as almost every other app I look at, including other apps like Vertigo Music, SoundShare, SoundHound, Shazam, etc all allow for in app music play that is separate from and independent of the Spotify player. We have a huge disconnect on this and my devs have basically given up. Some research I have done might indicate that the reason is Spotify's previous SDK allowed independent music play and perhaps apps are continuing to use Spotify's old SDK, but I have no idea if this is true.
Another related issue is that my devs say that in order to play a song through the SDK, it is necessary that the Spotify application is active and if the iOS system considers that Spotify is not open, then when song play is initiated my app is flipping back out to Spotify to re-authorize (and in fact if music is playing in Resonate and the Spotify app is closed, then the music stops playing). The re-authorization that I describe works but it makes no sense because no other apps that I have seen using Spotify connections seem to do this. Once a user connects their Spotify in the app, then to me frequent re-authorization should not be necessary.
Any relevant information would be most appreciated.
Hey, @resonateapp! Your description of the iOS SDK sounds right. It works like a remote control when the user has the Spotify app installed on the same device.
It's also true that an app that has implemented the iOS SDK needs to perform an 'app switch' when it wants to resume playback after a user has paused audio. This doc on the app lifecycle may be helpful for you: https://developer.spotify.com/documentation/ios/guides/application-lifecycle/
Hi @spotifyjosh, thanks for your reply! But your reply is only giving me partial answers with some of my most important questions left unanswered.
Regarding current iOS SDK and "remote-control", how are many, many other apps (Vertigo Music, SoundShare, SoundHound, Shazam, etc) not using this "remote-control" environment? In these apps, when a user connect their Spotify account, what's playing in the app is separate and independent from what's playing on Spotify app.
Regarding "app switch", similar question to question immediately above, how is it that many, many other apps (Vertigo Music, SoundShare, SoundHound, Shazam, etc) do not require this constant "re-authorization" check? With these apps, once a user connects their Spotify account, there are not continual "app switch" requests.
Is the answer to these questions because these other apps are still using an older version of your iOS SDK (where these limitations were not in effect)? If using the previous iOS SDK is not the answer, then what is the answer?
Thank you
Hi, it's true that we used to offer another iOS SDK with a very different interface, @Rzn8. I couldn't tell you how the apps that you mention are developed.
Hi @spotifyjosh
Is this iOS SDK with a very different interface still available for use?
I see things online about old iOS SDK being deprecated but if that's the case why is it still working for others?
Any ideas on how can I learn if the apps I mention (or others) are using your old iOS SDK?
Thanks!
Hey there you, ย Yeah, you!ย 😁 ย Welcome - we're glad you joined the Spotify Community! ย While you here, let's have a fun game and getโฆ