-
Notifications
You must be signed in to change notification settings - Fork 405
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
Toast dosen't show in android in RN6.2.0 #124
Comments
I have the same issue. There's something when you fix, in the code below, the useState "isVisible" to true at the start, the toast is shown one time and then no more when you click the button. Packages:npmPackages: Code:
|
Yes I am also having the same problem on RN 0.62.2 |
me too. |
I've found a temporary solution. As the issue comes from the react-native-root-siblings module and the ToastContainer component is exported (see here), we can just use the ToastContainer component. Code example:
|
me too. |
Nobody see this? #124 (comment) |
I fix it use wrap the App.js import {RootSiblingParent} from 'react-native-root-siblings'
thanks @sunnylqm |
I've paid my attention that in my case toasts are not shown only for android dev build. So I can debug toasts on ios, and then they are shown for both platforms in prod build Hope that will help you |
me too |
thanks , its working, but why ? |
thanks, it's working for me. |
It worked for me as well. Even though I don't like that I have to install a separate library only to fix an issue. I hope it gets fixed. |
It's not a separate library. It's a dependency. |
i still have the problem. so for now i do this 👍 |
ios is work only anroid.like eact-native-root-sibling problem #
The text was updated successfully, but these errors were encountered: