backButton beta 9


How can I use backButton actions on beta 9?

platform.registerBackButtonAction(() => {
     var activeNav = _navController.getActive();
      if (activeNav) {
          if (!_navController.canGoBack()){
          else {


While this may “work” right now, it’s not officially something we support at the moment.
We don’t have any priority system setup in V2 at the moment so if another component says “Dismiss this modal” and you want it to do something else, you can’t override it ATM.

Also, from your example, this should already be built into the framework now