android-sdk icon indicating copy to clipboard operation
android-sdk copied to clipboard

Android Auth Library VS App Remote

Open lorenzodella opened this issue 3 years ago • 1 comments

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?

lorenzodella avatar Jul 20 '22 16:07 lorenzodella

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.

matgnt avatar Dec 10 '22 20:12 matgnt