Ionic4 ,how to exit app


#1

I use ionic4 to develop android app ,I want to add an exit button to this app, but the platform.exitapp() can not work any more .who have the method to exit app?