Add pushState on browser build only

pushState doesn’t play nicely with iOS build, however I need it for my browser version. How could I have this work automatically based on the build platform?

When you enable pushState just enable it based on device:

var viewMain = app.views.create('.view-main', {
   ...
   pushState: app.device.ios ? false : true,
});

Thanks, @nolimits4web! I’m using Vue, assume it will work the same in f7params. Look forward to trying that!