Actually I am not trying this option in our actual app. I created a simple ionic tabs app and as you said installed all the required plugins like…
ionic cordova platform add browser
ionic cordova plugin add cordova-plugin-backbutton
ionic cordova build browser --prod
And also added the event - platform.registerBackButtonAction() in my component.ts file as mentioned above. But the problem is I am not able to capture the device back button event at all.
All I am trying to do is capturing the back button event which will display the console.log(‘clicked*’);
Once this happens then we can add the required code inside the event handler.