cjam / cjam/react-native-spotify-remote
unable to do Song play / pause
- Dominant language
- Objective-C
- Stars
- 283
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
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:- https://github.com/bih/spotify-token-swap-service/issues/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
Contributor guide
Assessment
This issue has not been assessed yet.