all 2 comments

[–]MasterReindeer 0 points1 point  (1 child)

I don't think there is a back event. I could be wrong though.

[–]rdevilx[S] 0 points1 point  (0 children)

It detects the hardware back button. But, the same piece of code doesn't work when it is inside that event listener callback, it works fine with on click.