Phil Chin

Because I'm getting old and this is how I try to remember stuff...
Ask me anything  

twitter.com/ekkus93:

    Phonegap not loading on child pages

    PhoneGap gets notified whenever a new page is to be loaded. However,
    there appears to be a bug in Android that prevents this from happening when
    window.location is set. As a result, the new page is loaded in place of the
    existing page and PhoneGap doesn't have any way to intercept the request. As a solution, instead of using window.location, use navigator.app.loadUrl("file:///android_asset/www/home.html");
    Note that you have to include the entire URL, not just relative part.
    — 1 year ago
    Loading