detect browser back button click react native

Viewed 267

I need some help here.

I want to do some action when a user clicks the browser back/forward button. But I am getting how to detect the browser button clicks or not. I am using react-native. Can anyone help me out? like which package I should use or with pseudo code? Thank You.

0 Answers
Related