Closed jsem closed 5 years ago
this seems to be a good solution: https://github.com/react-navigation/react-navigation/issues/922
hwo to handle android back button presses in react native: https://facebook.github.io/react-native/docs/backhandler.html
this is especially evident when using the back button on android
this is because the orientation lock happens in component will mount, but when navigating back it doesnt remount the main menu, it just rerenders the one we already had