Operating System: Android
I execute the app-remote-sample app of https://****/spotify/android-sdk/tree/master.
I modified the values of CLIENT_ID and REDIRECT_URI in RemotePlayerActivity for values i entered in the developer dashboard.
I also added the package com.spotify.android.appremote.demo with my SHA-1 (letters in uppercase) in the developer console for the app.
I have the SpotifyApp installed on my phone (Version 8.8.66.563).
When executing the app an exception is reported, in the logcat the folling Exception is reported:com.spotify.protocol.client.error.RemoteClientException: {"message":"Explicit user authorization is required to use Spotify. The user has to complete the auth-flow to allow the app to use Spotify on their behalf"}
I don't have a clue what could be the mistake. Or does the remote-lib doesn't work anymore ?
If more information are needed, please write. I will provide them.
Hi, can you perhaps clarify exactly what you changed? I believe this is the same problem described here: https://stackoverflow.com/q/78649893/1283578
context.getPackageName()Got it. I had to call showAuthView(true) and use the package name got by context.getPackageName()