For Ionic 4 check out the config option described here: https://ionicframework.com/docs/angular/config
and I have applied hardwareBackButton : true inside my app.module.ts but it will not working in Android device .
Currently : Not exit the Android app on backPressButton pressed (remain on Home page).
Expected : App should be exit as default android app worked.
Thank you in advanced.