I am trying to add going back on webview when the android backbutton was pressed and I still couldn\'t manage to make it work.
This is my code:
In case of webview in react native, app exit when pressing the back button of mobile by default. If you want to go the previous page when pressing the back button then you need to implement the "goback" function of react-native webview.
You can see the Step 5 : Handle Mobile Back Button section of this article.