@deathrake wrote:
hello experts,
I was trying registerBackButtonAction on my Exisitng app as well as on new blank app.
but the issue i was facing is that on pressingbackbutton it exits the app but when i minimize the app and then resume my app from recent task then the registerBackButtonAction works well.this.plt.registerBackButtonAction(() => { console.log('Register Back Button works') },999);
Ionic Info
Ionic:
Ionic CLI : 5.4.16 (C:\Users\Fariha\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins)Utility:
cordova-res : 0.11.0
native-run (update available: 1.0.0) : 0.3.0System:
NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.4
OS : Windows 10
Posts: 2
Participants: 2