Ste*_*rth 6 spotify ios reactjs react-native
我一直在使用以下模块开发一个react-native应用程序:
https://github.com/viestat/react-native-spotify
目前,应用程序打开认证窗口以登录到spotify.我确实得到了成功的回报,但我很困惑,我现在如何摆脱弹出登录的窗口.我知道它应该重定向回我的应用程序,但它只是与logout /我的帐户按钮保持在同一个窗口.
如何在退回的成功消息上关闭此窗口的任何想法?
SpotifyAuth.setClientID('*****','*****', ['streaming', 'playlist-read-private'], (error)=>{
if(error){
console.log(error);
} else {
console.log('success');
}
});
Run Code Online (Sandbox Code Playgroud)