Status Bar change via window.location using GoNative

Hey Vladimir, hoping you can help with this one. As i have mentioned before i am using a wrapper called GoNative.io, their documentation lets me update the status bar colour using a custom piece of js code which does its job just fine - window.location.href = “gonative://statusbar/set?style=light&color=26a277”;

My issue is that after this is called it kills pushState in my app and although the addresser is updated when new pages are visited when you try to go back it is messed up. I cant see what this is changing and the address bar remains the same after the update.

Any ideas of a way that directly after calling it i can reset the window.location that i have just altered as it is obviously being changed somewhere in the background and affecting pushState that is set on each individual view like so:

var homeView = app.views.create(’#view-home’, {
name: ‘Home’,
url: ‘/’,
stackPages: true,
pushState: true
});

As always any help is appreciated :slight_smile:

Well, it is extremely not usual usecase :slight_smile: Any chance I can play with it or see live, to try to figure out what happens?