Android SDK is broken ?
Hi,
It seems that Spotify connection is not working on android returning this error: Error not specified
(It's working on iOS)
It happens here : RNSpotifyRemoteAuth, line 97
I can't see any way to dig deeper, if you have any clue for me please I'll take it
I'm really lost, one of my authorize() is working but the other don't I get a 500 error, there is no differences between them, same configuration, token and scopes
Hey, @Loown I'll have to take a look. There was a new release that did change some things in the android side of the library. I did however test things out on the example app in the repo, but I may need to double check in one of my own apps.
If you're getting a 500 tho, that would indicate that the error is happening outside of this library (since this library doesn't generate http errors). What is the error message that it returns?
Hey, @Loown I'll have to take a look. There was a new release that did change some things in the android side of the library. I did however test things out on the example app in the repo, but I may need to double check in one of my own apps.
If you're getting a 500 tho, that would indicate that the error is happening outside of this library (since this library doesn't generate http errors). What is the error message that it returns?
The error does not specify anything else than Error not specified, it falls in the default of authorization switch statement and give no more explanations
It's really strange, I think you can't do much because it seems to be linked to android SDK, I made a post on spotify community forum, but still no answers
The fact that the same call in 2 different locations of the app are handled differently is really strange, I'll try ot dig deeper and get more logs
sounds good. Have you tried setting a break point there and inspecting things in the debugger? Sometimes I find it's helpful for snooping around at the objects.
@Loown i think the problem is caused by android 11. On android 11 we should specify the connections. Adding this lines to AndroidManifest should solve the problem
<queries> <package android:name="com.spotify.music" /> </queries>
https://community.spotify.com/t5/Spotify-for-Developers/Why-can-t-I-use-the-SDK-on-Android-OS-11/m-p/5062921/highlight/true#M1438
@Loown did this comment help?
@Loown i think the problem is caused by android 11. On android 11 we should specify the connections. Adding this lines to AndroidManifest should solve the problem
<queries> <package android:name="com.spotify.music" /> </queries>https://community.spotify.com/t5/Spotify-for-Developers/Why-can-t-I-use-the-SDK-on-Android-OS-11/m-p/5062921/highlight/true#M1438