How to show toast before closing app in ionic latest version?

show toast before exiting app on back button pressing.then exit a app on double clicking back button in single click . show a toast message " press again to exit

how to achieve this friends any one help me to solve this


Take a look at this

1 Like