Ionic [2|3] | How to manage hardware back button event like a pro



By  Gajotres

In this guide, I’m going to walk you through the process of handling Android hardware back-button in the Ionic Framework.

Warning: Before we go any further I want to make one thing clear. This tutorial is explicitly made for the Ionic framework. And when I say Ionic Framework I mean Ionic 2|3. If you came here looking for a tutorial that covers original Ionic Framework ver1, you may find it here.


The main issue of a hardware back-button is always a lousy timing. No matter how capable they are, application users will, sooner or later, unintentionally trigger a back-button event. This is something we want to prevent, as, no matter how perfectly configured, this act may deteriorate usability of our application. For example, it may lead to application termination, and the last thing we want to do is to force application users out.


Read the full article....

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment