Crashing on UserNotAuthorizedException
zacwolfe opened this issue · 2 comments
zacwolfe commented
Describe the bug
Getting UserNotAuthorizedException on SpotifyPlayback.spotifyConnect() with valid clientID and redirectUrl, causing crash.
To Reproduce
Steps to reproduce the behavior:
- Try to run example on android with Spotify installed
- See UserNotAuthorizedException in terminal, note that app crashes
Expected behavior
App should trigger track playback in spotify app.
Smartphone (please complete the following information):
-
Device: Google Pixel XL
-
OS: Android 9
-
Version: spotify-playback 0.0.6
Additional context
There's really 2 issues here:
-
Why am I getting the UserNotAuthorizedException even though I am providing valid clientID and redirect URL and seem to be configured correctly according to this: https://developer.spotify.com/documentation/android/quick-start/
-
Why is that exception causing the flutter app to crash?
Thanks!