Skip to content
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

Open
lewis992 opened this issue Aug 21, 2023 · 1 comment
Open

Spotify Integration Issues #350

lewis992 opened this issue Aug 21, 2023 · 1 comment

Comments

@lewis992
Copy link

SDK Version: spotify-app-remote-release-0.8.0.aar

OS Version: android 12

Scope(s):

Steps to reproduce:

  1. Enter the client ID, redirect URL, and package name generated by the spotify console in the project; Import Project

  2. 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

@lewis992
Copy link
Author

the log:

023-08-23 11:09:08.525 14659-14855 SPOTIFY_APP_REMOTE com.xmlb.car D Start remote client
2023-08-23 11:09:08.535 14659-14659 SPOTIFY_APP_REMOTE com.xmlb.car D Spotify service connected
2023-08-23 11:09:08.536 14659-14855 SPOTIFY_APP_REMOTE com.xmlb.car D Connecting to Spotify service
2023-08-23 11:09:08.569 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2520
2023-08-23 11:09:08.569 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.570 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.571 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.571 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.571 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.572 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.572 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.573 14659-14855 com.xmlb.car com.xmlb.car W Unable to resolve Lcom/spotify/protocol/types/HelloDetails; annotation class 2523
2023-08-23 11:09:08.57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant