I am developing a reaction based application using the following module:
https://github.com/viestat/react-native-spotify
Currently, the application opens an authentication window for logging in to determine. I will really return to success, but I am confused by how now I got rid of the window that appeared for entry. I understand that it should be redirected back to my application, but it just stays in the same window with the logout / account buttons.
Any ideas on how I dismissed this window on a returned successful message?
SpotifyAuth.setClientID('*****','*****', ['streaming', 'playlist-read-private'], (error)=>{ if(error){ console.log(error); } else { console.log('success'); } });
, (SpotifyLoginViewController, ), . , redirectURL, API setClientID, URI , Spotify (. ) - .
SpotifyLoginViewController
redirectURL
setClientID
, URL , . , URL ( URL-, ) API.
, URL- .
, URI Spotify My Applications.
, URI :
your-app://callback
Source: https://habr.com/ru/post/1016646/More articles:Firebase Cloud Messaging: Notification_key is not valid when deleting one device among many - firebaseHow to manage a stream without .flatMap, which splits a reactive stream, preventing operators, such as distinctUntilChanged, from working with the entire stream - algebraic-data-typesHow to check sequences that are not string using Python 3 standard library - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1016644/rails-deleteif-using-hashes-to-ignore-current-article-middleman&usg=ALkJrhhVsciQTs4vyNG8C7WqD7-GPhI-4ARunning an application in the background when the phone is in Doze - androidHow to implement bitwise operations on enumeration of bitflags? - rustПочему применяется функция R, путающая строки с столбцами? - rCreating a long data format based on strings of sequences defined by colons and concatenated vectors - stringToggle the "active" class between vueJS.2 children - vue.jscreate-react-app (no push) + bourbon / trim? - bourbonAll Articles