-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Alert work well on Debug but not showing in Release mode on Android #29041
Comments
Can you share more information. Which alert are you using? Is it react native's alert or javascript's alert method? |
Facing the same issue, javascript alert & Alert.alert("title", "message") both are not working on release mode of iOS Used versions on package.json is below "dependencies": { Please help to go-ahead |
The problem disappeared when I switched from version 59.9 of React Native to 60.0. 🎉 But I couldn't find any solution. |
Hi Folks, |
@nicolettinzia if the problem disappeared, then could you please close this issue? We have 1.1k open issues and contributors invest months to read, triage, troubleshoot and then publish fixes for each issue...because there are very large amount of discussions... Closing the issue if does not reproduce anymore on latest release really helps. Thanks |
I had the same problem, but my error was my fault. I passed an empty object {} to the buttons parameter of the Alert.alert() function. I changed it to undefined and now it works as expected. |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
The application correctly displays all the alerts and toast messages in the debugging phase. The moment the build is built all the messages disappear.
React Native version:
Expected Results
That alerts are shown in build mode.
I attach the package.json to see if there are any known incompatibilities:
Thanks in advance to those who want to help me.
The text was updated successfully, but these errors were encountered: