Native Backhandler

Content Type: Widget
Categories: Mobile

Overview

Widget to disregard or use a custom action on back events when using Mendix Native.

Documentation

React Native backhandler

Description

This widget adds functionality to your backpress (Android) or swipe back (iOS).

Typical usage scenario

The widget was mainly designed to block the user from going back, but normal Mendix functionality can be selected for your back action.

Features and limitations

Features:

  • Add functionality to the backpress or swipe back actions in your app.

Limitations:

  • The action needs to be 'cancelled' on the next page (if you don't close your previous page). So if you keep a page open with a backhandler, you need to have another backhandler on the next page with another action (for instance, close page if you want to have normal backhandling back).
  • Let me know!

Dependencies

  • Mendix 8.15.0 and higher

Installation

Download the widget from the marketplace and place on a native page

Configuration

Place the widget on a page and select an action. 'Do nothing' will disable the backpress or swipe back functionality. As said in the limitations, if you keep a page open with a backhandler, you need to have another backhandler on the next page with another action (for instance, close page if you want to have normal backhandling back).

Bugs

None, please report bugs to Github.

Releases

Version: 1.0.0
Framework Version: 8.15.0
Release Notes: Initial release