tns create TestApp --template https://github.com/NativeScript/template-tab-navigation-ng
tns run android --path TestApp
Navigate back with hardware button (navigate with back icon in the app is ok).
{
"nativescript": {
"id": "org.nativescript.TestApp",
"tns-android": {
"version": "5.1.0"
},
"tns-ios": {
"version": "5.1.0"
}
},
"description": "NativeScript Application",
"scripts": {
"lint": "tslint \"src/**/*.ts\""
},
"dependencies": {
"@angular/animations": "~7.1.0",
"@angular/common": "~7.1.0",
"@angular/compiler": "~7.1.0",
"@angular/core": "~7.1.0",
"@angular/forms": "~7.1.0",
"@angular/http": "~7.1.0",
"@angular/platform-browser": "~7.1.0",
"@angular/platform-browser-dynamic": "~7.1.0",
"@angular/router": "~7.1.0",
"nativescript-angular": "~7.1.0",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.3.0",
"tns-core-modules": "~5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@nativescript/schematics": "~0.4.0",
"codelyzer": "~4.5.0",
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "~0.18.0",
"tslint": "~5.11.0",
"@angular/compiler-cli": "~7.1.0",
"@ngtools/webpack": "~7.1.0"
},
"readme": "NativeScript Application"
}
Describe the bug
Navigate back with hardware button put the app in background.
To Reproduce
Expected behavior
Navigate back to previous page (list view on home tab).
Package.json
Additional context
It is ok with
template-tab-navigation-tsandtemplate-tab-navigation