Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

connectivity plugin

$
0
0

@JamesMontemagno Hi!
I've a problem with your connectivity plugin.

I write this code:
if(CrossConnectivity.Current.IsConnected == false){
await DisplayAlert("Connessione", "Connessione non presente", "Ok");
return;
}
else if(CrossConnectivity.Current.IsReachable(entryIpServer.Text).Result == false) {
await DisplayAlert("Connessione", "Host non raggiungibile", "Ok");
return;

but I'm not able:
1- to set a breakpoint on the "if" line
2- the app "freeze"

do I have forget something?
do I initialize??
Thanks
Alessandro


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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