You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Follow the pub.dev + Spotify Developer guide
Ensure everything works as intended
Create new android emulator, download Spotify App, log in with a different account
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.
The text was updated successfully, but these errors were encountered:
The solution that worked for me is getting an access token, which was previoulsy not required, since I was not using the web api.
@brim-borium could you please double check, whether this is actually a bug or not? Maybe the access token is required regardless of using the web api or not, if so, please consider updating the docs on pub.dev.
Solution:
Step 1: call getAccessToken() inside your connectToSpotifyRemote() function
Step 2: set up the scope (more details here)
Step 3: pass the accessToken to connectToSpotifyRemote()
Step 4: restart the emulator and grant the necessary permissions
The solution that worked for me is getting an access token, which was previoulsy not required, since I was not using the web api.
@brim-borium could you please double check, whether this is actually a bug or not? Maybe the access token is required regardless of using the web api or not, if so, please consider updating the docs on pub.dev.
Solution:
Step 1: call getAccessToken() inside your connectToSpotifyRemote() function Step 2: set up the scope (more details here) Step 3: pass the accessToken to connectToSpotifyRemote() Step 4: restart the emulator and grant the necessary permissions
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:
Spotify_sdk Flutter package version
spotify_sdk: ^3.0.2
Target Platform, Version & Device
Development OS
Additional context
Add any other information about the problem here.
The text was updated successfully, but these errors were encountered: