-
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
Spotify Integration Issues #350
Comments
the log: 023-08-23 11:09:08.525 14659-14855 SPOTIFY_APP_REMOTE com.xmlb.car D Start remote client |
SDK Version: spotify-app-remote-release-0.8.0.aar
OS Version: android 12
Scope(s):
Steps to reproduce:
Enter the client ID, redirect URL, and package name generated by the spotify console in the project; Import Project
Run the program code, val connectionParams=ConnectionParams. Builder (clientId)
. setRedirectUri (redirectUri)
. showAuthView (true)
. build()
SpotifyAppRemote. connect (this, connectionParams, object: Connector. ConnectionListener{
Override fun on Connected (appRemote: SpotifyAppRemote){
Spotify AppRemote=appRemote
Log. d ("MainActivity", "Connected! Yay!")
//Now you can start interacting with App Remote
Connected()
}
Override fun onFailure (throw: Throwable){
Log. e ("MainActivity", throw. message, throw)
//Something wet wrong when attacking to connect! Handle errors here
}
}No error log printing, no UI pop-up prompt
3.Import the client ID, signature, redirect URL from the spotify demo, change the applicationId to com.spotify.android.appremote.demo, run the project, and the log shows successful login. At the same time, it can control other APIs
Expected behaviour: Normal authorized login
Actual behaviour: No log printing, no page response display
The text was updated successfully, but these errors were encountered: