android-sdk
android-sdk copied to clipboard
Android Auth Library VS App Remote
I don't understand how to get an instance of SpotifyAppRemote if I log in with the Single Sign-on (Android Authentication Library). Can I do that? Or am I supposed to use Built-in authorization if I want to use App Remote?
I was wondering the same. Still not sure, but maybe this sample here helps:
https://github.com/spotify/android-sdk/blob/master/app-remote-sample/src/main/java/com/spotify/sdk/demo/RemotePlayerActivity.java#L335
The few lines before it, you can see both options and I think if you have already requested the scope app-remote-control before, you can just set .showAuthView(false) if I'm not mistaken.