RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

Illya-- One more question if I might: I just noticed that my application runs perfectly on the cellular network using your tester. Does this have any significance to you in terms of my problem ?

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

Illya, here is more information on my problem:

This is the network activity when wifi is being used:

http://screencast.com/t/DVEzkDKQLNh

And here is the iPhone screen with wifi:

http://screencast.com/t/zdhzVzC1eLc

When cellular is being used, no network activity is shown.

And here is the iPhone screen:

http://screencast.com/t/4wJnsXtOVcwa

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

Hi Robert -

You can add your custom app logic to check whether Wifi or Cellular network connection is used and then run JS files or prevent running them.

http://cordova.apache.org/docs/en/3.3...

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

Illya-- can this be done with a web-only app? Does your advice mean that I cannot run JavaScript in my app on the cell network?

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

Illya, as mentioned in my first comment, my app is web-only. On checking this morning, your suggestion to check the connection via Cordova does not work. Is creating a hybrid app my only alternative - my main reason for using Appery was to be able to create pure web apps, so I truly hope not.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.

I see, I mean that the type of connection can be checked only in hybrid app.

It looks that in your case would be the only to exclude loading one-by-one CSS/JS files that are causing such issues with overall displaying. And testing it in your cellular connection environment.

Return to “Issues”