Users are now able to play/pause any song of their choice as well as add songs to a playlist.
Notes
For some reason, I couldn't get the Singleton to work for the SpotifyController. So, we have to pass down the "root" SpotifyController found in the RootView to any subviews as an ObservableObject.
Without this, I would get an infinite loop between our app and Spotify during authentication.
Feature/play pause functionality
Description
Users are now able to play/pause any song of their choice as well as add songs to a playlist.
Notes
For some reason, I couldn't get the Singleton to work for the SpotifyController. So, we have to pass down the "root"
SpotifyController
found in theRootView
to any subviews as anObservableObject
.Without this, I would get an infinite loop between our app and Spotify during authentication.
Screenshots