Ionic go back trigger on click of hardware back button of message app

I’m opening native sms app in my app but when i click on hardware back button on device it goes back to my app and then trigger ionic go back too i can’t understand a issue why my app go back trigger when i click on sms app back button?