Skip to content

MobileCRM.Platform.preventBackButton

rescocrm edited this page May 15, 2023 · 3 revisions

Prevents application to close when HW back button is pressed and installs handler which is called instead.

Pass "null" handler to allow the HW back button.

Works only under OS having HW back button (Android, Windows 10).

Arguments

Argument Type Description
handler function() Handler function which will be called each time when user presses the Android HW back button.
Clone this wiki locally