Skip to content

unable to do Song play / pause  #222

@shubh89193

Description

@shubh89193

Hello I am suffering from this issue
Whenever I am clicking play or pause Spotify disconnects from my application.
I tried following the ways
we are completely blocked now on Spotify
we got success in swap URL login in Spotify in react native but the original issue is still there:-
once the user pauses the audio to play again user has to login

we tried the following ways to solve this:-

  1. with Native authorizeAndPlayURI
    https://github.com/spotify/ios-sdk/tree/master/DemoProjects/NowPlayingView
    conclusion:- Same issue as informed earlier, we have to re-login to Spotify for Authentication

  2. with Native SwapURL
    https://github.com/spotify/ios-sdk/tree/master/DemoProjects/SPTLoginSampleAppSwift,
    https://developer.spotify.com/documentation/ios/guides/token-swap-and-refresh/

error:- bih/spotify-token-swap-service#5
conclusion:- Authentication fails with Invalid_grant error

3)with ReactNative
with token swap the token refresh API method on call of play, pause button
https://developer.spotify.com/documentation/ios/guides/token-swap-and-refresh/

conclusion:- we have to re-login to Spotify for Authentication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions