The Spotify mobile SDKs allow developers to create iOS and Android apps that interact with Spotify. We’re excited to announce that apps using our mobile SDKs can now connect to Spotify while a device is offline. This feature makes it possible for mobile apps to control playback and authenticate a Spotify user when they are without a network connection. Read on to learn more about how to implement offline authentication for your platform.

iOS SDK

Offline authentication is an option for apps that use version 1.2.0 of the iOS SDK or later. The following prerequisites must be met before authenticating a user offline:

  • The user has version 8.5.30 or later of the Spotify iOS app
  • The user has authenticated online in the past
  • The device has been offline for no more than 24 hours

Find out more about the latest version of our iOS SDK in the release notes for v1.2.0.

Android SDK

Offline authentication will work by default using any version of our Android SDK. In order for offline authentication to happen the following must be true:

  • The user has version 8.5.32 or later of the Spotify iOS app
  • The user has authenticated online in the past
  • The device has been offline for no more than 24 hours

Interested in learning more about building mobile apps with Spotify? Take a look at our Quick Start guide for iOS or the Quick Start guide for Android.