I made my first test web app and it runs ok from safari on ipad and iphone. Address is http://brigita.info/cgi-bin/radiobrigita.cgi
The problem is when I add this app from Safari to my ipad’s or iphone’s home screen and I try to run it from there, App crashes and asks me to send error data.
This is what I get:
This application has encountered an error and cannot continue.
Xojo.controls[‘Ij6Bqj2w’].setEnabled(true);
Xojo.input.install(Xojo.controls[‘Ij6Bqj2w’].object());
new frameworkObject(‘WQfjblu5’,[]);
Xojo.controls[‘WQfjblu5’].setEnabled(true);
Xojo.controls[‘WQfjblu5’].shouldBecomeVisible = false;
new button(‘Dt7DJH7B’,[‘Action’]);
Xojo.controls[‘Dt7DJH7B’].setEnabled(true);
new button(‘G7PF695n’,[‘Action’]);
Xojo.controls[‘G7PF695n’].setEnabled(true);
Xojo.controls[‘G7PF695n’].shouldBecomeVisible = false;
new textlabel(‘XhaPwNtM’,[‘TextChanged’]);
Xojo.controls[‘XhaPwNtM’].setEnabled(true);
new frameworkObject(‘UcqhtE3s’,[]);
Xojo.controls[‘UcqhtE3s’].setEnabled(true);
Xojo.view.showPage(‘UcqhtE3s’);
document.title = “Radio Brigita”;
Please describe what you were doing right before the error occurred:
Or are you doing any setup of other controls in controls’, containers’, or pages’ Shown event? If so, see if it works in 2013r3, but doesn’t work in 2013r3.2. If that is the case, I’m writing up a feedback report about a general issue, and you should add your project to it. More soon…
Sorry guys… I am 2 days old Xojo user. I don’t have 2013r3. I don’t try to setup controls in open event. As I said, this is my simple test project that works with ios 7 Safari, but it crashes if I try to open it from home screen…
Thank you for your feedback, but I guess I need to contact support for 90 days money back guarantee, because I need to be able to run web apps from home screen, app startup time is very slow, I needed almost one day just to find a way how to deploy this cgi app to Hostgator.
i just try the url and put it in the home screen and try using it on the home screen and it work fine. it is playing the radio now. i am using ios7 on my iPad mini
Thank you Richard. This makes whole confusion even bigger… I am using iPad mini and iphone 4s and iPhone 5. It works on iPhone 4s, It doesn’t work on iPhone 5 (Stream doesn’t play only when app is started from home screen. If I navigate to my app directly from mobile Safari, everything works on iPhone 5.) and finaly, on iPad mini I get this crash report, right at the startup. And again, only if I start app from the home screen. In Safari on iPad mini, everything works.
Thank you Alex and Peter. Deleting cache helped on my macbook’s Safari, but it didn’t on my iPad mini. And I would like to add that my Xojo is 2013r3.3 if this helps.
I get this too on my app - and it’s a cache issue. If I add a radio group to my project for example that wasn’t there before I get that error. The ios and app on home screen problem you are having… I usually have to clear cache on iphone and remove that app from home screen and re add it. Then it seems to work. As long as no one has gone to your app before you added that new control they won’t see the error since it’s not cached on their machine yet.
I don’t believe this is cache problem on my iPad mini. I mean, it is true that I updated this app several times, but clearing iPad’s Safari Cache, doesn’t solve my issue.
On my iPad mini I have:
I deleted “Radio Brigita” App Shortcut.
I closed Safari.
I cleared cache and history (Settings > Safari > Clear History and then Clear Cookies and Data)
I Soft reseted iPad with holding Home button and Power button for so long that Apple logo appeared on screen.
I have just had a chance to try iPad 2 and another iPhone 5 and everywhere App worked from Home Screen, so it looks like Rob Vanarsdall is right and this really is cache issue. Not Safari’s cache issue but it looks like iOS 7 's cache issue… or I don’t know.
Anybody knows how to delete cache in iOS 7, or how could I solve this issue on my own iOS 7 devices (Except bulk changing my program and/or reuploading it on another location…)?
I would also like to know what would happen if this would be real live App and users would use it, and after some time I would want to update it… and after that users would get crashes (same as I get now)?
I am not sure if this is Xojo issue or iOS 7 issue, but the way it is, it makes putting web app icon to home screen, useless. Updates will allways exist and I can’t expect users would want to add new icon to home screen for every new version…
Thanks Greg, but this is not what I need: I know how to delete Safari Cache. I was asking about how to delete ios7 cache that many web app developers are talking about here: https://discussions.apple.com/message/19488825#19488825