Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin.Auth and infinite error alerts

$
0
0

I'm testing login using Xamarin.Auth and OAuth2Authenticator, if I disable the internet connection then the Error event is raised, but there's also an endless number of Alert windows that popup telling me there is no internet connection. Each time you click "ok", the alert just pops up again, over and over, until you force quit the app.

When the Error event is raised I dismiss the UIPopoverController that is presenting the login window and remove the event handlers, but this doesn't stop the authenticator from trying to connect over and over and over again. There doesn't seem to be a cancel method (calling OnCancel() does nothing), what is the correct way to handle this error?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>