Closed hardeep closed 11 years ago
@hardeep have you had a chance to look at this? shall we get someone else to look at it, if you're too busy?
@goya is now handling the issue.
Any updates on this issue ?
i'm currently working on the issue and a fix will hopefully be pushed up this week.
this thread also needs to be updated once it's complete:
I need guidance as to where I can configure the loadUrlTimeoutValue. Is there a way to do it via jQuery (I am developing in jQuery Mobile)?
@jamesarthurjohn : you need to do it in java code there is no way to do it through javascript api right now.
super.setIntegerProperty("loadUrlTimeoutValue", 160000);
@vishwajeet : Thanks!
This has been added to PhoneGap Build now - documentation is at https://build.phonegap.com/docs/config-xml
@alunny Where exactly it is documented in https://build.phonegap.com/docs/config-xml? I can't find any entry about loadUrlTimeoutValue
. I only managed to find it in PhoneGap configuration documentation. Not even a word in PGB docs.
I asked that 9 months ago and either resolved it or found a workaround. Either way, I cannot recall.
James "Jamiehttp://educ.jmu.edu/%7Ejohns2ja" Johnson, BBA, MA, A+http://certification.comptia.org/getCertified/certifications/a.aspx, ACHDShttp://training.apple.com/certification/macosx, HDAhttp://www.thinkhdi.com/certification/individualCertification/HDABootcamp.aspx, HDMhttp://www.thinkhdi.com/certification/individualCertification/hdm.aspx, MOShttp://www.microsoft.com/learning/mcp/officespecialist/default.mspx, W3S/HTMLhttp://www.w3schools.com/cert/cert_html.asp JMU Information Technology Web Developer Browser Detection and Test http://isapps.jmu.edu/tutorials/browser/BrowserDetection.asp
"Test everything. Hold on to the good." 1 Thessalonians 5:21http://www.biblegateway.com/passage/?search=1%20Thessalonians%205:21&version=NIV
From: trejder [mailto:notifications@github.com] Sent: Thursday, August 08, 2013 3:25 AM To: phonegap/build Cc: Johnson, Jamie - johns2ja Subject: Re: [build] [Android] Configure loadUrlTimeoutValue (#16)
@alunnyhttps://github.com/alunny Where exactly it is documented in https://build.phonegap.com/docs/config-xml? I can't find any entry about loadUrlTimeoutValue. I only managed to find it in PhoneGap configuration documentationhttp://docs.phonegap.com/en/2.9.0/guide_project-settings_android_index.md.html#Project%20Settings%20for%20Android. Not even a word in PGB docs.
— Reply to this email directly or view it on GitHubhttps://github.com/phonegap/build/issues/16#issuecomment-22306989.
Great! :] but, I'm asking @alunny as he has closed this issue, claiming, that proper information is in config.xml
documentation and it is gone there.
@trejder find in page "Load URL timeout"
@alunny OK. I see, why did I missed it out. Seems that config.xml
documentation uses hyphen notation (load-url-timeout
), while PhoneGap configuration documentation says about camel case notation (loadUrlTimeoutValue
).
Does this change affects other, undocumented in config.xml
values? Do I have to use loading-dialog
instead of loadingDialog
and loading-page-dialog
instead of loadingPageDialog
, when dealing with PhoneGap Build's config.xml
documentation? Or if there is no trace about particular item in config.xml
documentation uses hyphen notation (load-url-timeout
), then we should assume, that this particular parameters is not supported (like no trace of loading-dialog
/ loadingDialog
).
BTW: There's a bug in either documentation (in "Load URL timeout" section) or PhoneGap Build. Docs says: "defaults to 20000 (20 seconds)", while on Android 2.x I'm receiving timeout errors after about 4-5 seconds, that is 4-5 times shorter period, than docs says.
The PhoneGap Build settings predate the PhoneGap/Cordova config.xml, which only came quite recently.
I no longer work for Adobe, so I'm not the best source of knowledge for PhoneGap Build. Maybe @hardeep or @goya would know the answer to your other questions.
Slow application loads will trigger a timeout on Android, this is noticeable on the Android 4.0 emulator.
To resolve this issue the user should be able to configure the loadUrlTimeoutValue defined by super.setIntegerProperty
http://community.phonegap.com/nitobi/topics/phonegap_build_viewebclient_timeout_error_on_android_device?utm_content=topic_link&utm_medium=email&utm_source=reply_notification