Skip to content

Explicit user authorization is required to use Spotify #372

@XiHanShui

Description

@XiHanShui

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:

  1. Add
    coreApp="true"
    android:sharedUserId="android.uid.system"
    to the AndroidManifest.xml file
    image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions