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


#1

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

thanks


#2

Take a look at this