I have a WP8 Cordova app that has one page locally and then it redirects to a server for further functionality. Both pages have the cordova JS API's available and things work well.
Except that when I want to go to the local start page again. Any anchors to it (pointing to x-wmapp0:www/index.html
) do not work on the HTML side.
In addition, any tricks with plugins and invocations of CordovaBrowser.Navigate()
result in UnauthorizedAccessException
errors.
The fallback has been for me to try to go back in browser history like this:
window.history.go(-window.history.length + 1);
But this doesn't do anything if I spend any time in the remote pages at all. So this isn't applicable either!
Is there a decent way to get to the starting page? With help from C# or otherwise?