Skip to content

MobileCRM.Platform.preventBackButton

rescocrm edited this page Jul 1, 2026 · 4 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).

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