B4J Question [BANano] CheckInternetConnectionWait False on iOS but works on Android

Mashiane

Expert
Licensed User
Longtime User
Hi

Ok this is rather odd. Both the android and ios are on the same Wifi and are running the same app. The android version does not render an internet connection error whilst the ios phone does.

What could I be missing? Both are using the chrome browser.

B4X:
'do we have an internet connection
    Dim hasInternet As Boolean = banano.CheckInternetConnectionWait
    If hasInternet Then
        btnfindme.enable
    Else    
        app.ShowSwalError("Please ensure you have an internet connection!")
        btnfindme.disable
        Return
    End If

InternetError.jpg
 
Top