My main view, loaded from the route ‘/’ is not loading in cordova.
In the browser, it correctly loads, but in cordova I can see that the route is being loaded as ‘/index.html’, which obviously is wrong.
Anyone have any ideas why only in cordova the ‘/’ route is being loaded as ‘/index.html’?
Do you have
browserHistory enabled? It must be disabled in cordova
I haven’t explicitly set it to true… This would be set on the view itself correct?
I found explicitly setting
url='/' on the view solved this, so maybe the default setting for this needs looking at? It might be that on cordova this is not set correctly to ‘/’?
Yes, it must be explicitly set on View