nativescript-vue-navigator icon indicating copy to clipboard operation
nativescript-vue-navigator copied to clipboard

Not working on Android Emulator

Open mdxsolutions opened this issue 5 years ago • 4 comments
trafficstars

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

mdxsolutions avatar Sep 17 '20 15:09 mdxsolutions

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",

mdxsolutions avatar Sep 17 '20 15:09 mdxsolutions

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.

rigor789 avatar Sep 17 '20 20:09 rigor789

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

mdxsolutions avatar Sep 18 '20 08:09 mdxsolutions

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.

AchrafBardan avatar Feb 13 '21 15:02 AchrafBardan