Page 2 of 3

Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 9:57 am
by Ram

thx for that info.

i will try it but I'm a bit confused now, as this app intended to work as a web application without any installation, and its working well in the "mobile preview" why do i need to test it as an IPA?


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:01 am
by Garrett

That's a good point. You should look into what JavaScript routines work in Safari. Unfortunately, JS can be touchy depending on the targeted browser and its version.


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:07 am
by Ram

so your guess is that there's some JS that is working well in the pc browser but not in the safari mobile ? if so, is there some kind of "firebug" that i can can debug this for the safari mobile? or any other way?


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:20 am
by Ram

@Garrett

you are right! i tested it on my lumia 920 (windows phone) and its working well there, so the problem is somewhere within the safari mobile...


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:24 am
by Garrett

It appears that your specific issue is known and unresolved...
http://stackoverflow.com/questions/12683510/ios-6-safari-setinterval-doesnt-get-fired


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:28 am
by Garrett

I just tested setInterval (http://www.w3schools.com/js/tryit.asp?filename=tryjs_setinterval) on iOS 7 browser and it seems to work for me. If your webapp is online, you can send me the link and I can test it too.


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:29 am
by Ram

@Garrett

ohh boy... :0

many many thanks for your help!!!


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:35 am
by Ram

i'd appreciate it! can you give me your email?


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 10:37 am
by Garrett

No problem. I know how it is. BTW, If you have something you would like me to test, my email is a href="mailto:gurt1@gurt.com" rel="nofollow"gurt1@gurt.com/a


Problem: setInterval working well in preview but not in safari

Posted: Sun Aug 25, 2013 11:15 am
by Alena Prykhodko

Ram, tested in Safari 6.1.3, works fine.