spotify / android-sdk

Spotify SDK for Android
https://developer.spotify.com/documentation/android/
Apache License 2.0
462 stars 119 forks source link

Get auth_code in Offline mode. #309

Open niekske opened 3 years ago

niekske commented 3 years ago

Issue found on 23-09-2021.

SDK Version:

1.2.3

OS Version:

Android 10

Scope(s):

user-read-playback-state

Steps to reproduce:

  1. Put Spotify app in "Offline mode"
  2. Get oAuth2 auth code via: com.spotify.sdk.android.auth.AuthorizationClient

Expected behaviour:

Get an error back that app is in offline mode (and in different cases a different error like connection timeout).

Actual behaviour:

Process just hangs in Spotify app and pressing back will give a "null" response.