I implemented SPTAppRemotePlayerStateDelegate methods into my app and i am getting notified when my app is active. Spotify is notifying me via
playerStateDidChange method.
func playerStateDidChange(_ playerState: SPTAppRemotePlayerState) { }
But not getting notified when my app is into background and i am doing something into Spotify i.e song change etc..
Can someone please let me know how can i achieve this.
Thank you