iOS 6 app hangs at splashscreen JQTouch + Phonegap - iphone

I have a weird problem with an App i'm developing with jQTouch and Phonegap. The App works fine most of the time, but sometimes (seems random) the App is stuck at the SplashScreen. Sometimes it still opens after a few minutes. It does nothing more than just load the HTML, CSS and JS files (no Ajax request or whatever). Is anyone familiar with this problem, or any ideas how to debug it?
Thanx!

Me too. I think we need to upgrade phonegap for our app.

Related

Ionic App behaving differently across browsers and devices

I am building an Ionic App and i have been testing the app on Google Chrome Canary and it was working perfectly fine as expected. Recently, i tried testing the app on Mozilla Firefox and the app was behaving a bit weird like some buttons weren't working and the app was getting stucked. I ignored it considering that it might be an issue with Mozilla Firefox. Today, i installed the app on my device and to my surprise the app is behaving the same as it was behaving in Firefox. Some buttons aren't working and also the app is getting stucked. I need to release the app for production, as early as possible and i am stucked with this weird issue.
Please help me out.
P.S. - I have also added the crosswalk plugin.

phonegap gwt mobile app runs only the first time on iOS6

I have a mobile app that's developed in mgwt and gwt-phonegap 1.8
It uses GWT-RPC, It works really well in iOS5 and all versions of Android.
In iOS6 the application works well only the first time.
Then if I start it again it appears that has cached the state from the previous session. (screens, values)
I have no mechanism to do that, and what's more the screens are dynamically created.
In addition, I have not used the mgwt linker that enables the application to run offline.
Anyone has an idea, what's causing this or how to deal with this problem?
Thanks.
It seems that the iOS6 webcontrol is caching the POST requests:
Is Safari on iOS 6 caching $.ajax results?

Workaround for fast test of GWT app on iPhone?

I started a GWT project targeted for iPhone (and later for other mobile platforms). Now there's a problem:
* I can use Safari on iOS to test it, but I have to compile my app which takes a while even after performance optimizations mentioned for example how-do-i-speed-up-the-gwt-compiler;
* I can NOT use Safari in gwt-debug mode to make quick tests without compilation Java to JS because there's no GWT plugin for Safari on iOS.
So: is there a workaround for fast test of GWT app on iPhone?
Same thing here. I have been developing a GWT app using PhoneGap to bring it to iOs and Android. I ended up just using Firefox for development, every once in a while letting the app run in the iOS Simulator (coming with XCode). But since the app is using geolocation via PhoneGap, there was no way around installing it on the phone every once in a while to make sure it behaves.
I found some mobile dev emulators, one that is coming to my mind is called Ripple. There are others out there, but non of them worked for me.

Phonegap app not opening camera

I have an app that I hired a company to build using Phonegap. The company is no longer able to support me with launching the app onto iTunes.
I have loaded the app and can compile it in Xcode. However the camera function is not working. I have tested the app before from a file they sent me and the camera function worked.
Is there special settings that you have to set in xcode 4 besides what is typical in order to use the camera?
You may be compiling for a different SDK. Make sure you are using the same one as before.
It shouldn't matter about the SDK you are working with.. the whole point of phonegap is to expose the native API's to javascript. So it's not the SDK, its the javascript. I am actually working on this now.. I will get back to you with my findings.

Why might cache-manifest fail to get mobile Safari to cache site while working as expected on desktop?

I'm playing around with a simple web app locally, and can't quite figure out why it is not caching correctly on the iPhone. I am serving a .manifest file with the correct MIME-type, and the site works perfectly fine with my local server turned on or off on desktop Safari, Chrome and Firefox. It is only mobile Safari that is failing to cache the site. Any ideas why this might be?
It seems to be an iOS bug.
I found out that mobile safari will always run into an application caching error if you have at least one web view opened and the you clear the browser cache. I think that clearing the browser cache will destroy the cache database. All accesses to the cache database will then fail. It seems that the browser creates this database only on startup.
To get the application cache working again close all safari views and finally close the browser by returning to the home screen. Now applicaton caching should working. Some mobile devices also requires switching on and off.
If you know a methode to detect this situation let me know it, please.
I had a similar issue but Safari and iPhone were both NOT working whilst IE and Firefox were working. The reason was complex. One was a misspelling of the word "manifest" in the HTML tag. Silly mistake and very frustrating that IE and FF still worked offline. The other issue was that I was using default.asp as the main page of my app and not including this in the manifest.
My app was mydomain.com/myapp/ and thus the browser never saw the "default.asp". Also, according to the HTML5 spec, the main page need not be in the manifest but apparently Safari sees that a little differently...
I can confirm that the bug is also present on iPAD running iOS 4.3.
I spent quite some time to make the offline application cache work on iPad. I can confirm that the workaround mentioned in the previous post works.