You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explicit user authorization is required to use Spotify #372
Thanks for your interest in the Spotify App Remote SDK!
If you're submitting a bug, please use the following template.
If your issue is a feature request, please include your use-case so that we have all the necessary info.
Issue found on DATE. 2024-11-12
SDK Version: 0.8.0
OS Version: 10
Scope(s): authenticate
Steps to reproduce:
Add
coreApp="true"
android:sharedUserId="android.uid.system"
to the AndroidManifest.xml file
Expected behaviour: com.spotify.android.appremote.api.error.UserNotAuthorizedException: {"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"}
Actual behaviour: Authentication successful
My App is a system-level App. When I add coreApp="true" android:sharedUserId="android.uid.system" to AndroidManifest.xml, it reports this error. My App must add this because it needs to call some low-level Android APIs.
Activity