Description
Environment
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 5.4.0 and the latest available version is 5.4.1.
✔ Component tns-core-modules has 5.4.2 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.
Describe the bug
Calling routerExtensions.navigate
fails if the app is not foregrounded on Android with tns-core-modules 5.4.2
To Reproduce
In the sample app background the app or close the screen. In 2 seconds navigate will be called which "succeeds", but the page did not change. Downgrade to 5.4.1 and the navigation will work.
Expected behavior
Like the prior version, when navigate is called the page should change.
Sample project