jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

Version 2.2.1 and 2.2.2 on iOS : isRemoteReachable always returns false #341

Closed mofadevs closed 8 years ago

mofadevs commented 8 years ago

Which Plugin does this impact: Xam.Plugins.Connectivity

Please fill out either the bug or feature request section and remove whatever section you are not using.

Bug

Version Number of Plugin: 2.2.1 and 2.2.2 Device Tested On: iPhone 6s physical device ios9.2 Simulator Tested On: iPhone 6s ios9.2

Expected Behavior

Should return true if the remote host is reachable

Actual Behavior

Always returns false

Steps to reproduce the Behavior

Running the following code always returns false: return CrossConnectivity.Current.IsConnected && await CrossConnectivity.Current.IsRemoteReachable("google.com");

Feature Request:

Please fill in what you would like

jamesmontemagno commented 8 years ago

This was tested and works perfect on 2.2.2 on device on IPv4 and IPv6 networks. Are you running the latest stable and xcode 7.3.1?

mofadevs commented 8 years ago

Hi James I am using XCode 7.2.1 on my Mac Build Host. Is it necessary to upgrade it to 7.3.1? Coz we are at the final stage of the project and want to avoid any hiccups. Please advise.

jamesmontemagno commented 8 years ago

Should be the latest 7.3.x

mofadevs commented 7 years ago

Hi James, Its been a while, but I thought I should give you my feedback. As you suggested, I upgraded the XCode to latest version on my Mac build host and the plugin works fine. Actually we have successfully published our app to both Play Store and App Store, completely rebuilt using Xamarin Forms from scratch. The app is multilingual (English and Arabic) and has features like Map, Directions Plotting, Live Data Sync, Embedding yahoo and google apis etc. We 've had our challenges but were able to cop, using good community+Xamarin input.

James, I love Xamarin, and badly wants a Code Monkey+Xamarin University Mug!! Can you help me with that???

Thanks ADEEL (@_adeel_ehsan)

On Wed, Jun 29, 2016 at 2:14 AM, James Montemagno notifications@github.com wrote:

Should be the latest 7.3.x

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamesmontemagno/Xamarin.Plugins/issues/341#issuecomment-229212172, or mute the thread https://github.com/notifications/unsubscribe/AQbtahu-pgROQOITuhG_wEO9w1esNr3Fks5qQaragaJpZM4I6m1y .

wimdevriendt commented 7 years ago

Hi Adeel, is it possible to share your project ? I am very curious about it and how you developped it