You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Attempt to present <RNSpotifyAuthController: 0x7ff563a58e00> on <RCTModalHostViewController: 0x7ff55dd45cf0> whose view is not in the window hierarchy!
#145
Open
sslash opened this issue
Oct 15, 2019
· 6 comments
This error suddenly started happening after I placed the Spotify authentication screen in a different place in my app:
Warning: Attempt to present <RNSpotifyAuthController: 0x7fc60a4b5200> on <RCTModalHostViewController: 0x7fc609040960> whose view is not in the window hierarchy!
The error happens after a call to Spotify.initialize followed by Spotify.login
Any idea what could trigger this?
The text was updated successfully, but these errors were encountered:
To be honest no idea. I present the auth controller on whatever the top visible view controller is in the app
Hah yeah really confusing. I am showing (and hiding) a modal just before trying to show the Spotify login modal, so it might be that it hasn't closed itself properly before I start the Spotify flow. I will do some more investigation!
Not really. I've just settled with the fact that we have to make sure that any other modal must be completely removed before we show the Spotify authentication modal
Platform: ios
React-native version:: 0.61.2
rn-spotify-sdk: 1.2.11
This error suddenly started happening after I placed the Spotify authentication screen in a different place in my app:
The error happens after a call to
Spotify.initialize
followed bySpotify.login
Any idea what could trigger this?
The text was updated successfully, but these errors were encountered: