You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2018. It is now read-only.
Hi !
I'm trying to handle the android back button behaviour.
By default, pushing the button closes the app, but in my case it would be better to use the router.back().
So I simply added this code (coming from a fresh seed) inside app.component.ts:
When I push the back button I can see the app is navigating back (the active menu link changes) but it shows an empty component.
I tried the same code using Nativescript Playground as I thought it was a routing context problem, but it worked fine in every configurations (with one or multiple routers, with and without page-router-outlet...).
Here is a sample that works fine: PlaygroundSample.
Surely there is something I'm missing but I don't have any clues on what could cause different behaviour between the seed and the default playground project.
If someone could point me on the right direction that would be a huge help :)