cjam / cjam/react-native-spotify-remote

QUESTION: After session/token from Spotify expires, does requesting a new session/token always opens and switches to the Spotify App?

Open
#229 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
283
Forks
110
PR merge metrics
No merged PRs in 30d

Description

I would like to be able to request a new session/token from Spotify without switching to the Spotify app.
This might be related to:
https://github.com/cjam/react-native-spotify-remote/issues/42#issuecomment-820449988

Here are what I'm confused about:

1. Is there a way to prevent having to always open the Spotify App? Is that what the refresh-token is for?
2. If refresh-token / renew session is the way, it seems we have to implement/call the refresh token mechanism ourselves atm - it is not part of the example.
3. How long a life does the refresh-token have before it expires as well?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.