cjam / cjam/react-native-spotify-remote

Is there a way to supply Spotify Web API access token to the remote without initialising the module?

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

Description

OS: Android

So my app uses elements of the Spotify Web API as well. I maintain the access token/ refresh token deal and take the user through Oauth using the React native App Auth. when I want to supply this token to the spotify remote I am not able to do It using remote.connect(access_token) unless I call auth.initalize(spotifyConfig). The problem is that auth.initalize(spotifyConfig) opens an auth window again even though the user has been through sign up once and I have the access token and refresh token. I just might be doing it wrong. Would really appreciate some help in the regard.

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.