Page 2 of 2
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Tue May 05, 2015 3:27 am
by RobertJay
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 ?
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Wed May 06, 2015 3:04 pm
by RobertJay
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
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Thu May 07, 2015 7:37 am
by Illya Stepanov
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...
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Thu May 07, 2015 7:52 am
by RobertJay
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?
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Thu May 07, 2015 1:24 pm
by RobertJay
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.
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Thu May 07, 2015 2:05 pm
by Illya Stepanov
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.
because my app just begins when have internet?When the wifi is off it does not open the startscreen, is a white screen.
Posted: Thu May 07, 2015 2:09 pm
by RobertJay
Thank you Illya, will do in a day or two and report back.