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
On fetchUserProfileWithIdToken:token the success block is called before dismissing the web view, if our success block needs to present some view controller it will not be able to present it, because the web view is on top of the view hierarchy causing an error.
We tried to execute [self dismiss] before calling the success block and it worked. Is there any reason to call the success block before dismissing the web view?
No reason at all, I have a similar issue with some type of errors that will show an alert so they are probably related. I am thinking of using dispatch_async in the main queue to enforce it and avoid switching them in code by accident in the future
On
fetchUserProfileWithIdToken:token
the success block is called before dismissing the web view, if our success block needs to present some view controller it will not be able to present it, because the web view is on top of the view hierarchy causing an error.We tried to execute
[self dismiss]
before calling the success block and it worked. Is there any reason to call the success block before dismissing the web view?The text was updated successfully, but these errors were encountered: