To go back you should hide current group and show the one you want go back to. To do so you need to configure a button or icon on on your app (not the android back button)
You might face some bugs if you use complicated animation for transition too often.
Another option is to wrap it with a native navigation bar or a slider menu for smooth change of views. You can do so with nativator.io
As @Sam mentioned, Iâm using a standard return button. If the user uses his Android BACK button the solution is to have two pages: index and page 1. By default, we are on page 1. Using the back, the index page appears (an empty page), and redirects to page 1. A delay of 3-4 sec each time, but your application will no longer close. You can send an alert message asking not to use the button as well.
You could setup conditions on the group to show only when a URL parameter equals a value.
For example, if you had a login popup you would set the condition:
Get data from URL âactionâ is âloginpopupâ
This element is visible
You would set those statements on all groups and just use the URL parameter âactionâ. When a button or an element is click run a workflow action:
go to page (current page)
send parameters - action = âyour actionâ
You would have to set the main group that is visible on page load to have a conditional statement as follows:
Get data from URL âactionâ is empty - element visible
Get data from URL âactionâ is not empty - element is hidden
I had this same setup on an application with bubble and wrapped it in a web view for Android. The back button will go to the previous URL which acts as a stepped back like a native app, but your page wonât reload as bubble handles non reload same page actions.
You did the right thing. It seems that inside the âWrapperâ on Android, detection of â<480â does not work. I didnât completely grasp the @keedanpunch example but I understand that adding a calling URL to itself it will loop Androidâs BACK key. Iâll try it when Iâm in the Android universe in a few days.
add: It just checked with my Android, and it closed the app. My tips do not work under Android Wrapper or home screen app registration, but only under Chrome directly. The best approach is the one proposed by @keedanpunch. For the âwrapperâ with Jasonelle, I know it is possible to capture the command, and prevent the use of the Back. Iâll share my results when I get there.
Hai @keedanpunch
its perfectly working in browser and not working in wrapper. we have to add something to make it active in wrapper. I am using jasonelle with android studio.