PhoneGap Desktop Page Not Updating?

If you find that changes you are making to your PhoneGap application are not being replicated to your browser session, there might be a problem with the JavaScript in your project.

I recently experienced this when I noticed that changes (such as title of my webpage) would flicker onto the screen and then disappear, returning me to the state the mobile application was in before.

The solution: start disabling chunks of JavaScript, starting with statements like this:

That will  help you narrow down the problem whereupon you can start looking for errors.

 

twittergoogle_plusredditpinteresttumblrmail

Written by Stephen Moon
email: stephen at logicalmoon.com
www: https://www.logicalmoon.com


Leave a Reply

Your email address will not be published. Required fields are marked *