2
votes

I observed so many times that app get stuck with splash screen and nothing happens in this case. We are getting below logs on Xcode console at that time.

2014-01-20 13:09:14.822 MyApp[4326:a0b] Resetting plugins due to page load.
2014-01-20 13:09:34.924 MyApp[4326:a0b] Failed to load webpage with error: The request timed out.

This is just a default application with index.html page and text Hello Worklight in it.

This is tested on IOS6 and IOS7 simulator and device both.

2
Uhm, there's nothing really to investigate here... Does this happen with a blank new app for iOS that does nothing, and tested against your own development server, or with your real app in a production environment? Details vishal....Idan Adar
Yes it is happening with both for sample app and production app. First i thought may be something wrong with production app then i tried with sample blank app. So it is for both.vishal_g
but in the production environment where you have time out problems, or in your local development server?Idan Adar
Don't combine production issue...this is the issue while doing multiple project. So it is coming with blank worklight project or you can say any xcode worklight project with connect on startup false. It is issue regarding app stuçk with splash and nothing happen after that. Did you get the point.vishal_g
I cannot reproduce this so you need to see what is the missing element here. Simulator or device? A specific iOS version or all?Idan Adar

2 Answers

2
votes

I found some similar posts at the following locations describing this issue with Phonegap/Cordova. Some of the solutions/suggestions may help:

Phonegap/Cordova 3.1 Resetting plugins due to page load

Resetting plugins due to page load - Issue

As well as a bug report in Cordova:

https://issues.apache.org/jira/browse/CB-2602

0
votes

I found a bug in worklight 6.2 + iOS 6(with a fix) that might also solve your problem, if you're having the same issue.

IBM Worklight - App hang at splash screen after applying FixPack