Android "Back" buttons application closes
When using the sales automation mobile application, and user noticed that a "standard" behavior on the android application is missing.
When user presses on the "back" button of any android phone, the application is closing instead of going back to the previous page.
Ideally it should have the same functionality of the arrow used for iOS.
Steps to Reproduce
Press on Android back button in mobile application.
Behavior is working as expected.
Here’s the explanation for the reported behavior:
In the Hybrid Container(HC) aka Pega Mobile Client, the default behavior of Android “Back” button is not applied, as the content (PRPC app) displayed there is web based and not the same in native applications.
That’s the reason mobile app is closed once “Back” is pressed.
On iOS there’s no “Back” button provided by OS, so what client see is action triggered probably by PRPC engine.
As stated in URL, BackAction “represents an object that enables the support for hardware buttons on Android devices.”
One can check examples provided in documentation to implement desired behavior.