denoni / SpotifyClone

An iOS app that visually clones Spotify's app and consumes the official Spotify's Web API to show(and play) songs, podcasts, artists and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

playing full length tracks

orange-artworks opened this issue · comments

Can this code play full length tracks if the Spotify app is installed or would that require recoding from Spotify web API to iOS SDK?
I have the Spotify app installed and authenticated but SpotifyClone still plays only 30 second demos.
Do I need to authorize something in the app?
Thanks
Julian

Hello, Julian. To play full-length content you'll need to migrate to the SDK instead of using the Web API. I've chosen to use the Web API for its simplicity and because it allows you to run the app on the simulator. But, you can study the docs a bit and try to do a migration

https://developer.spotify.com/documentation/ios/#about-the-sdk
https://github.com/spotify/ios-sdk

Hi Gabriel
Thanks very much for clarifying that (and for sharing your code).