This is a peculier problem I am having. Pushstate works only after there is some device interations, like:
- Focusing an input field
- Opening camera
- Locking screen and unlocking
- Opening native share dialogue
This happens on 5 difference devices that I am using. So, not a device specific issue.
Here is my app.js snippet:
var app = new Framework7({
id: ‘com.skipqlah.userapp’,
root: ‘#app’,
theme: theme,
routes: routes,
view: {
pushState:true
},
touch: {
disableContextMenu:true
}
});
var mainView = app.views.create(’.view-main’);
I am using PhoneGap CLI 8.2.2
Android version 7.1.4