Proper way to check if there are internet when you're loading SplashScreen?


I want to avoid that if you open the application I let you enter without having a connection on the phone. I have tried it this way but it gives me problems when I put the connection back. What is the correct way to recharge the application if you have no connection or is very slow?

      if( == 'none'){
        alert('This app requieres an active connection');;

This way doesn’t works


Again, this seems like a really hostile UX. Can’t you just notify the user that some features won’t work until the network is better, and just leave it at that?


Yes, i’m agree with you, but my app is a iframe and if the app starts without connection you’ll see it broke


My understanding is that that’s pretty much an express ticket to rejection from app stores.