spotify / android-sdk

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

SpotifyAppRemote connect is not working for Android Automotive #352

Open kmadsen opened 8 months ago

kmadsen commented 8 months 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: [core] Spotify AAM Version = 4.4.0.0

OS Version: https://www.polestar.com/us/polestar-2/infotainment/

Android API 29

Scope(s): Android Automotive

Steps to reproduce:

  1. Build automotive app that uses SpotifyAppRemote
  2. Sign into Spotify and run your connection app
  3. Spotify does not connect

Expected behaviour:

SpotifyAppRemote connect success

Actual behaviour:

2024-01-09 18:43:59.792 14140-14289 E  Connect failure com.spotify.android.appremote.api.error.CouldNotFindSpotifyApp
com.spotify.android.appremote.api.error.CouldNotFindSpotifyApp
at com.spotify.android.appremote.api.LocalConnector.connect(LocalConnector.java:53)
at com.spotify.android.appremote.api.SpotifyAppRemote.connect(SpotifyAppRemote.java:72)
kmadsen commented 8 months ago

This issue is not specific to Polestar 2 emulators as we have not been able to connect to any AAOS version of Spotify. Used for Navigation apps.

rohitrajeev4334 commented 1 month ago

Hi @kmadsen , was this issue fixed. I am facing the same issue.