-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpotifyAppRemote.connect() has no response on Android 12 #322
Comments
Hi @samcsyu do you still have this issue? Do you see any errors in logs? I have tried to reproduce this on Android 12 emulator but could not. |
Hi @veronikapetruskova, I still have the issue when running on the Android phone with Android 12. At line 339 to 357 of RemotePlayerActivity.java or depicted below, onConnected() or onFailure() callbacks never get called after calling SpotifyAppRemote.connect().
Below is the full log.
It has a lot of warnings, but not sure if above warning / error duplicated below are related.
|
Did you manage to solve the issue? I have the same issue now and I can't find a solution online |
Same issue here! |
Same issue |
If you change "showAuthView = true" does it work? I cannot replicate on my machine. What version of the app remote sdk / version of Spotify App do you have? |
Okay, adding my details here: I've tested with 0.8.0 on several Samsung Galaxy A53 devices, running Android 13, also Samsung Galaxy S10, running Android 12, it works fine. but then I also see rows of (I am not sure if it will help anyone, but noticed this, so noting here.) However, on Xiaomi Note 9T running Android 12, the same issue happens. (All phones running the latest version of spotify) Any suggestion would be welcome. |
Any updates here? |
We have stopped using the spotify-app-remote-release-0.8.0.aar library for authorization and built this part on the spotify-auth-release-2.1.0.aar, seems to solve connectivity issues for us. |
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.
Mar 17, 2022
SDK Version:
SDK: spotify-app-remote-release-0.7.2.aar
Spotify Android app: 8.7.10.1262
OS Version:
Android 12
Scope(s):
Cannot connect to Spotify App Remote on Android 12
Steps to reproduce:
Expected behaviour:
Actual behaviour:
If run the app-remote-sample on Android phone with Android OS 11, this issue doesn't happen. It doesn't work on Android 12 only
The text was updated successfully, but these errors were encountered: