nativescript-vue / nativescript-vue-navigator

A simple router for NativeScript-Vue, built on top of $navigateTo to simplify routing from within components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

value.resolvedPage.__path always undefined

ScottAtRedHawk opened this issue · comments

Hi,
In /components/Navigator.js line 46 value.resolvedPage.__path is always undefined, so the call to _updatePath() always passes the default route. The routing is working as far as screens go, but when I call this.$navigator.route in a component, it is always the default route object and not the current route that the app has navigated to.

@ScottAtRedHawk can you include a sample repository where this is not working? I'm using this pacakage with nativescript 6.x and it's working (this.$navigator.route works too).

I'm not sure what I'm doing but it seems to work intermittently. I'm going to close this because I don't think it's an issue with the package, but rather my code. Thanks!

@ScottAtRedHawk if you need help debugging, share your issue on Slack, someone might be able to spot the issue!