I'm using links with relative paths within my phonegap application. I've been testing on both iOS and Android.
On android links such as '/about' will attempt to load from 'file:///about' rather than the correct relative URL.
On initial load, $('base').attr('href') returns the full and proper domain of the website.
I can't tell if this is changing, or why, for the app crashes upon error.
This has happened before! Although I normally have not experienced this issue with iOS, it did appear once. After using the camera to capture a photo, the base path is changed by some internal combination of phonegap and jqm, and must be changed back.
Is this a phonegap issue? Or something from jquery mobile?
Thanks! This is being quite an elusive bug.