[Firebase Mobile] Invalid call of the 'Handler' client action of the 'MainFlow.HomeScreen'

Forge Component
(15)
Published on 17 Jul by David Sousa
15 votes
Published on 17 Jul by David Sousa

Greetings Folks,

I have added a Firebase Block in the HomeScreen on Mobile & I provided a Client Action i.e 'Handler' to Handler property of block.

I am facing below issue :

Invalid call of the 'Handler' client action of the 'MainFlow.HomeScreen' 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.


I know it is expecting me to remove the Handler in OnDestroy of Screen but I am not able to do so.. Has any one faced the same issue... It is occurring when we change the screen & Handler is not destroyed...


Any Help Much Appreciated,

Assif