Page 1 of 1

Poor performance on iPhone

Posted: Mon Jun 04, 2012 7:09 pm
by dornz

I've installed the app I made with Tiggzi on my iPhone and also submitted to the iTunes store. I have noticed 2 major performance issues when testing it out:

1) Transitions are not pretty. Every time I navigate to another page, I see a quick flash of every other page in my app before the actual page loads. I was able to work around this by changing the opacity of the overlay to complete black, but this is not very pretty.

2) If I click too quickly from one page to the next, the page I was going to will not load and I am left with a blank page. I have to manually kill the app and restart it. (Users are not going to be happy with this and will probably not know how to kill the app).


Poor performance on iPhone

Posted: Mon Jun 04, 2012 9:23 pm
by maxkatz

Please share the app with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a and tell us how to reproduce both issues.

For #1, does it happen when you run the app in the browser (not as PhoneGap)?


Poor performance on iPhone

Posted: Tue Jun 05, 2012 4:49 pm
by dornz

Ok, I shared the app.

For #1) Yes it does seem to happen in the browser too, but it is more noticeable on the iphone. You can reproduce by clicking through pages using the lower navigation.

For #2) I think I discovered what the issue is here. It only happens when going from a particular screen that is mapping the results of a REST service call to a local storage variable. I will modify this to store to local storage using the 'data' variable in the success event of the service call which should fix this problem. You can ignore #2 for now.

Thanks.


Poor performance on iPhone

Posted: Tue Jun 05, 2012 7:04 pm
by maxkatz

For #1, I meant if you run it on iPhone but in the brwoser -- as mobile web app, not as hybrid.


Poor performance on iPhone

Posted: Thu Jun 07, 2012 4:45 pm
by maxkatz

The problem is due to this: https://github.com/jquery/jquery-mobi.... It will be fixed in jQuery Mobile 1.1.1. There is a patch available, we'll try to see if it can be used with version 1.1.0.