SpotifyClone icon indicating copy to clipboard operation
SpotifyClone copied to clipboard

playing full length tracks

Open orange-artworks opened this issue 2 years ago • 2 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

orange-artworks avatar Jul 28 '22 04:07 orange-artworks

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

gabrieldenoni avatar Jul 28 '22 11:07 gabrieldenoni

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

orange-artworks avatar Jul 29 '22 03:07 orange-artworks