I have ionic 4 app in which i have to handle the Hard ware back button .This is working fine but when i opened the app in very first time than it is not working as expected .The app is closing as i click on the back button without hitting the hard ware back button function.
I am using platform.backButton
this.platform.backButton.subscribeWithPriority(10, (processNextHandler) => {
})
Configuration :
Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.4.1
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Utility:
cordova-res : 0.15.3
native-run : 1.4.1
System:
Android SDK Tools : 26.1.1
NodeJS : v10.16.3
npm : 6.4.1
OS : Windows 10
1 post - 1 participant