I am developing an app by using Nativescript with Angular. According to our design, there is a dashboard when application is started. Now the thing I want to do is that when user click on back button in android, I want to confirm with user 'Are you sure you want to exit?'. If user click OK, the app will be killed. If user click No, the app will stay on dashboard page. If you are aware of this, please share me how can I accomplish this.
Thanks & Best Regards, Zaw Zaw Naing