After this we are interested in the following fields:Ĭlient ID - your app’s unique identifier, which is required for the SDK integration.Ĭlient Secret - your app’s secret key, which is used on the server. Enter your name and application description. Go to the Spotify’s Dashboard and log into your account.
For those not sure it’s worth the purchase, there’s a free trial. The process of connecting the SDK to a real product is significantly different in terms of login logic and token management.įirst things first, you need to create an XCode project, register a Spotify account and make it premium. Keep in mind that although there is an official tutorial for implementing Spotify’s SDK, it can only introduce the basic functionality. Here, users can link to and undock their Spotify accounts, and log into several devices without re-connecting to the integrated services. Implementing the Spotify iOS SDKįor this article, we decided to show you the integration of Spotify’s iOS SDK with a mobile application for listening to music from several audio streaming services.
However, the ability is limited to public items only. The latter includes sharing different Spotify items (albums, artists and playlists), and managing collaborative playlists. With Spotify integrated with your app, its users can receive user data, play audio and share public data. Note that using Spotify’s SDK for commercial projects requires their team’s official written approval. Although the Spotify iOS SDK is in beta (ver. When creating an application, it’s better to use an SDK (if there’s one available), as it simplifies the development. An SDK comprises of the API and tools for its management.
Spotify offers an application programming interface (API) and a software development kit (SDK).Īn API is a collection of routines, data structures, and classes designed specifically to interact with a piece of software. The guide is based on our web and mobile development experience and explores the stages of SDK connection: the process of login, token authentication, and the built-in Spotify player management. In this article, we’re sharing tips for connecting Spotify to your mobile iOS application.