EddyVerbruggen / EddyVerbruggen/nativescript-feedback
Anyone have a working example with $navigateTo?
- Dominant language
- TypeScript
- Stars
- 128
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Listening on a webhook in app.vue which triggers the message. I added the onTap() method with the code this.$navigateTo(MyChats) however it keeps crashing with:
NativeScript encountered a fatal error: TypeError: this.$navigateTo is not a function. (In 'this.$navigateTo(_overview_MyChats_vue__WEBPACK_IMPORTED_MODULE_4__["default"])', 'this.$navigateTo' is undefined)
* I guess the question here is what scope does OnTap() operate it?
I'm using Nativescript with VueJS
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the app.vue webhook flow and the onTap() handler described in the report, then inspect how this plugin exposes navigation in NativeScript with VueJS. Reproduce the TypeError and determine the relevant callback scope. Done means the scope issue is explained and a working $navigateTo example is confirmed.
Written by the indexing model from the issue text.
Assessment
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100