Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify app gets stuck on the authorization screen when authorized via the Spotify app remote SDK #353

Open
Kvartnyk opened this issue Jan 12, 2024 · 0 comments

Comments

@Kvartnyk
Copy link

Issue found on 19/Dec/23.

SDK Version: 0.7.2

OS Version: Android 13

Scope(s): app

Steps to reproduce:

"target app" - the Android app with Spotify integration via Spotify app remote SDK.

  1. Launch the Spotify app (log out if already authorized).
  2. The Spotify authorization screen opens.
  3. Move the Spotify app to the background and open the "target app".
  4. Authorize Spotify from the "target app" using AuthorizationClient.createLoginActivityIntent(activity, request).
  5. The Spotify app opens.
  6. Proceed with "Continue with Google".
  7. After successful authorization, the "target app" is brought to the foreground.
  8. Open the Spotify app from the "target app" using getLaunchIntentForPackage("com.spotify.music").

Expected behaviour:

The user is authorized in the Spotify app, and the main screen of Spotify app is opened.

Actual behaviour:

The authorization screen of Spotify app remains open.

Additional information:

  • The issue can be reproduced only if the Spotify app is in the background state at step 4.
  • Also tested with Spotify app remote SDK version 0.8.0 with the same result.
  • If user procced authorization by click on "Continue with Google." after step 8 then the Spotify app shows error dialog "Somthing went wrong".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant