-
Notifications
You must be signed in to change notification settings - Fork 7
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
Back physically button Android #80
Comments
Hello @Eduardoleor, we have just tested this on our latest plugin version, and we are not able to reproduce this behaviour. |
Hello @ikresicc , thanks for your response! I cloned the demo repository, however I see that the issue is not from my installation, but from the plugin, currently in the video that I am going to attach I show two scenarios,
Screen.Recording.2024-10-19.at.5.21.08.p.m.movCould you help me solve this problem? |
i have same issue |
What steps did you take to resolve this issue? |
i'm facing same issue |
Hello, thanks for letting us know. We will investigate this behaviour on our side and let you know with updates. |
I resolved this issue by adding the following attribute to the tag in the AndroidManifest.xml: <application
android:enableOnBackInvokedCallback="false" I hope someone can confirm that adding this doesn’t cause any unintended side effect |
After installing the library, it seems to replace the native Android navigation and pressing the physical back button closes the application instead of returning to the previous stack,
Version with the error:
infobip-mobile-messaging-react-native-plugin": "^11.1.1
Testing steps: Start the application with the module installed and started, press the physical Android back button, the current result will be that the application will exit and applying for example a backHandler will not work
Expected result: When you start a screen and press the physical back button on Android, you will return to the previous screen
The text was updated successfully, but these errors were encountered: