New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android][Android 13] Hardware back button don't work at all on physical device #11227
Comments
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
@satya164 |
@Roamer77 I am also stuck in this issue, do u have any updates? |
I have tested on Android 13, backbutton make app exist, not called as |
Same here |
@antoxa2584x check here : facebook/react-native#13775 (comment) |
any solution or update on this i am facing the same issue on v6 react navigation bottom tabs |
React Navigation uses BackHandler to listen to hardware back button press. If |
Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro. |
It was fixed when i switched by device somehow it was not working on google pixel device but works fine on rest of the devices. |
I mean yes but that's not a solution, or you will ask to your users change the device to use your app? |
Yes you are right it should work on all devices but i mentioned the scenario here in which i was facing the issue.Hoping for the solution on it soon from the community. |
I still have the issue |
is there any update on this @satya164 @antoxa2584x @ronal2s @Roamer77 |
Current behavior
I have nativeStackNavigator with inner tabNavigator. Each screen of tabNavigator is nativeStackNavigator. The issue is hardware backButton don't work at all on Android physical device with Android 13. I have tried use simple useBackHandler hook in my app but it haven't solved problem. Every thing works nice on every device with Android OS lower than 13. I have tasted on Pixel 7, Samsung s22
Expected behavior
On physical device with OS Android 13 hardware backButton should work as expected (back to previous screen)
Reproduction
https://github.com/Roamer77/Android13backButtonBug
Platform
Packages
Environment
"react-native": "0.70.3",
"@react-navigation/bottom-tabs": "^6.3.2",
"@react-navigation/native": "^6.0.11",
"@react-navigation/native-stack": "^6.7.0",
The text was updated successfully, but these errors were encountered: