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

[iOS] Spotify_sdk player's requests NEVER come back with their callbacks. #150

Closed
irfan-429 opened this issue Jan 2, 2022 · 3 comments
Closed
Labels
awaiting-clarification clarification or retesting needed bug Something isn't working

Comments

@irfan-429
Copy link

irfan-429 commented Jan 2, 2022

Is this a native Spotify SDK issue
No

Are you using a Free or Premium Spotify account
Premium

Expected behavior
Spotify_sdk must respond with a callback when I perform actions like play/pause/getPlayerState on a song.

Describe the bug
Pre-issue:
I was facing an issue like this and I try to solve his way but it didn't solve. I also tried with this way around where I added a wrong spotifyUri while connecting using SpotifySdk.connectToSpotifyRemote() and it worked!! i.e., Spotify app didn't played song automatically after adding wrong spotifyUri.

Actual/current issue:
When I perform actions like play/pause/getPlayerState on a song, my requests go but they NEVER come back with their callbacks after few successful requests. Rather my all queued requests respond back suddenly when I switch from the app to Spotify App. See the screen shot below:

Steps to Reproduce
Steps to reproduce the behavior:

  1. Followed iOS quick start documentation
  2. Connect to Spotify remote with/without accessToken but with a wrong spotifyUri as a param
  3. Play and keep playing different songs one by one
  4. After few successful attempts, you won't be able to perform further actions on a song

Screenshots
logs screenshot,
Project dir structure,
Xcode dir structure

Spotify_sdk Flutter package version
spotify_sdk: ^2.2.0

Target Platform, Version & Device

  • OS & Version: [iOS 15.2]
  • Device: [iPhone 11 Pro]

Development OS

  • OS: [Mac OS]
@irfan-429 irfan-429 added the bug Something isn't working label Jan 2, 2022
@irfan-429
Copy link
Author

irfan-429 commented Jan 3, 2022

@fotiDim - Can you please check my query? It'd be much helpful to meet my deadline.

@fotiDim
Copy link
Collaborator

fotiDim commented Jan 4, 2022

@irfan-429 some clarifications needed:

  • Does the issue also happen when you pass a valid spotifyUri?
  • Does the issue also happen when you don't pass any spotifyUri?
  • "After few successful attempts, you won't be able to perform further actions on a song" Does that literally mean that you cannot perform any action (eg. pause) or just that you are not getting back the callback?

Also how are you sure that this is not a native Spotify SDK issue?

@fotiDim fotiDim added the awaiting-clarification clarification or retesting needed label Jan 7, 2022
@fotiDim
Copy link
Collaborator

fotiDim commented Apr 5, 2022

Closing due to lack of feedback. If the issue persists please report back.

@fotiDim fotiDim closed this as completed Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-clarification clarification or retesting needed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants