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

Not working on Android Emulator

mdxsolutions opened this issue · comments

I created a simple project and tested on both Android and IOS Emulators.
Both load fine, but the navigation only works on the IOS device.

Both Pages are the same, just labeled Test1 and Test2

Screenshot 2020-09-17 at 16 11 12

Sorry I am using

"@nativescript/core": "^7.0.3",
"nativescript-vue-navigator": "^1.2.0",

and

"@nativescript/android": "7.0.0",
"@nativescript/ios": "7.0.0",

Make sure the two pages are in different files and not referencing the same import - there are some edge cases with module loading that can cause circular dependencies.

They are 2 different files, everything is setup correctly and working on IOS

I have the same problem it only works when i delete the app from the emulator and the re run everything after rebuilding again i get the error: [Navigator] Failed to navigate: TypeError: Cannot read property 'navigate' of undefined. Have you already found a fix.