Skip to content

Unable to use different Spotify Accounts on Android  #230

@T1G3R192

Description

@T1G3R192

Is this a how to question?
No

Is this a native Spotify SDK issue?
No

Have you searched for existing issues?
Yes

Are you using a Free or Premium Spotify account?
Premium

Expected behavior
Set up a new android emulator device to test the sdk with a new account. Firstly, I was testing my code on a free account. Now, I want to test the behavior on my personal premium account. I expect everything to work as intended, after adding my new account to the spotify developer dashboard and rerun the code. I even used a new emulator to ensure the cache is not interfering.

Describe the bug
await SpotifySdk.connectToSpotifyRemote(); never finishes. There is no successful or failed connection.
Even on a new emulator it only works if I log into the previously used account.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Follow the pub.dev + Spotify Developer guide
  2. Ensure everything works as intended
  3. Create new android emulator, download Spotify App, log in with a different account
  4. Encounter bug: Previously working code, is not working anymore

Spotify_sdk Flutter package version
spotify_sdk: ^3.0.2

Target Platform, Version & Device

  • OS & Version: Windows, Android 14.0 x86_64 "UpsideDownCake"
  • Device: Medium Phone API 34, 6.4 1080x2400 420dpi

Development OS

  • OS: [e.g. Mac OS, Windows, Linux]

Additional context
Add any other information about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions