<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Android app remote SDK doesn't work? in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6932023#M17649</link>
    <description>&lt;P&gt;I have the same issue and went through the same testing steps, including using all the same values from the sample app (even their keystore and sha1 fingerprint with package name) My users are whitelisted, and so are the redirect uri's. Any help would be appreciated :')&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 22:02:39 GMT</pubDate>
    <dc:creator>catmario1321</dc:creator>
    <dc:date>2025-04-22T22:02:39Z</dc:date>
    <item>
      <title>Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6167014#M14324</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;India&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Xiaomi Mi A3, Google Pixel 6a, Emulator&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Android 13, 14&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to create an app for personal use that can control playback in Spotify. So I tried to use the app remote SDK (&lt;A href="https://github.com/spotify/android-sdk" target="_blank" rel="noopener"&gt;https://github.com/spotify/android-sdk&lt;/A&gt;). The sample app works fine, it opens Spotify for authorization, and I can successfully control Spotify playback through the sample app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I try to use my own client id and callback URLs, it simply fails with UserNotAuthorized error in the logs, and doesn't even open up the prompt for consenting to the authorization. I registered the same callback URL in the app settings in the developer dashboard too, so I don't think it's a callback URL mismatch issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same thing happens with the auth-lib sample too. But when I go the the URL that is used to make the auth request (as it is logged), it opens fine in the browser. I'm really lost of what's happening here, there are a few questions I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Why is my client app not working, but Spotify's test app is? I ensured the client id and callback URL are all as per configured in the app?&lt;/P&gt;&lt;P&gt;2. What does the callback URL even do in the context of Android? The sample app uses "comspotifytestsdk://callback" as the callback URL, but the scheme is not registered in the manifest. So how does the Spotify app know where to redirect?&lt;/P&gt;&lt;P&gt;3. I tried using the same callback URL "comspotifytestsdk://callback" for my app as well, but that also doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The exact error that is logged:&lt;/P&gt;&lt;PRE&gt;Connection failed.&lt;BR /&gt;com.spotify.protocol.client.error.RemoteClientException: {"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"}&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.getRemoteClientException(RemoteWampClient.java:130)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.access$200(RemoteWampClient.java:16)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient$1.onAbort(RemoteWampClient.java:43)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.routeAbort(WampRouterImpl.java:100)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.route(WampRouterImpl.java:26)&lt;BR /&gt;at com.spotify.protocol.client.AppProtocolCommunicator.onData(AppProtocolCommunicator.java:77)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.handleMessage(RemoteServiceIo.java:108)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.access$000(RemoteServiceIo.java:45)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo$IncomingHandler.handleMessage(RemoteServiceIo.java:86)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 08:27:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6167014#M14324</guid>
      <dc:creator>navy-donkey</dc:creator>
      <dc:date>2024-07-01T08:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6224231#M14597</link>
      <description>&lt;P&gt;Hey Man, I am having the same issue with this. Where you able to do it? How did you do it? Do I need to pass my app for review before given the authorization?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 06:04:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6224231#M14597</guid>
      <dc:creator>kmagalona</dc:creator>
      <dc:date>2024-07-29T06:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6459434#M15309</link>
      <description>&lt;P&gt;HI, am facing the same issue, did you get any solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 16:47:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6459434#M15309</guid>
      <dc:creator>IPT</dc:creator>
      <dc:date>2024-10-24T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6608815#M16404</link>
      <description>&lt;P&gt;Did you add yourself as a user to your app in the Dashboard under User Management?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 22:14:58 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6608815#M16404</guid>
      <dc:creator>CasvHaren1</dc:creator>
      <dc:date>2024-12-25T22:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6932023#M17649</link>
      <description>&lt;P&gt;I have the same issue and went through the same testing steps, including using all the same values from the sample app (even their keystore and sha1 fingerprint with package name) My users are whitelisted, and so are the redirect uri's. Any help would be appreciated :')&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 22:02:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6932023#M17649</guid>
      <dc:creator>catmario1321</dc:creator>
      <dc:date>2025-04-22T22:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6932254#M17651</link>
      <description>&lt;P&gt;In the end my problem was that my Spotify app on my was running in "offline mode", have you checked that?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 05:11:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6932254#M17651</guid>
      <dc:creator>CasvHaren1</dc:creator>
      <dc:date>2025-04-23T05:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Android app remote SDK doesn't work?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6933225#M17666</link>
      <description>&lt;P&gt;Unfortunately it's not the case for me since my app is definitely online, and it works with their sample app &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;However if I changed the sample app to point to my app (changing client_id, whitelisting their redirect uri, registering the package name and fingerprint) it fails to work&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 21:32:50 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-app-remote-SDK-doesn-t-work/m-p/6933225#M17666</guid>
      <dc:creator>catmario1321</dc:creator>
      <dc:date>2025-04-23T21:32:50Z</dc:date>
    </item>
  </channel>
</rss>

