NativeScript
NativeScript copied to clipboard
Routing issue while upgrading NativeScript version 7 to 8
Issue Description
Our project is based on Native Script 7. We are transferring it to nativescript 8, we are facing routing issue. We are using this method for routing from navigate one page to another.
this.routerExtensions.navigate(["search/licenseplate-search"], { relativeTo: this.activatedRoute, }),
When we come back from that page. we use this method
this._routerExtensions.back({
relativeTo: this._activatedRoute,
});
We are getting this error when we come back by clicking on the back button.
CONSOLE ERROR: ns-router: No outlet found relative to activated route
Reproduction
No response
Relevant log output (if applicable)
No response
Environment
No response
Please accept these terms
- [X] I have searched the existing issues as well as StackOverflow and this has not been posted before
- [X] This is a bug report
- [X] I agree to follow this project's Code of Conduct