spotify / android-sdk

Spotify SDK for Android
https://developer.spotify.com/documentation/android/
Apache License 2.0
473 stars 120 forks source link

connect spotify UserNotAuthorizedException when add android:sharedUserId="android.uid.system" #341

Open luchen123 opened 1 year ago

luchen123 commented 1 year ago

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.

SDK Version: 0.7.2

OS Version: Android 11

Scope(s):

Steps to reproduce:

add android:sharedUserId="android.uid.system" in AndroidManifest.xml, SpotifyAppRemote.connect(...) UserNotAuthorizedException. no add android:sharedUserId="android.uid.system", SpotifyAppRemote.connect(...) ok. My project needs i have to add android:sharedUserId="android.uid.system"

Expected behaviour:

Actual behaviour: