Android mobile back button doesn't work

I use in my ionic angular application. But when i build my app for android and when i navigate to a page and press the back button of my mobile it doesn’t go back. In ionic 3 i can use my mobile back button to go to the previous page. Can anyone help