[Android back button] Invalid call of the 'defaultBack_action' client action

Forge Component
(5)
Published on 2019-05-06 by Miguel Vicente
5 votes
Published on 2019-05-06 by Miguel Vicente

Hi Guys,


We are currently using the Android_back_button, and looking for service center logs we found an error:


Invalid call of the 'defaultBack_action' client action of the 'XXXXXX' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.


The detail show:

Object.defaultBack_action$Action [as defaultBack_action] (https://.../scripts/Android_back_button.Backbutton.AndroidBackButton_Press.mvc.js



Someone has the same problem?


Thank you.

Hi Goncalo,

Where you are using this Back buttons. Is in any block, client action or timer?


Hi,


We are using inside a webblock to detect the action "Back" on Android. 


Solution

Gonçalo Ferraria wrote:

Hi,


We are using inside a webblock to detect the action "Back" on Android. 



Hi,

Can you drop "Android back button" some where in the main screen area instead of this header block. It should work. If still getting issue then let me know.

Thanks.

Solution