react-native-toast-message
react-native-toast-message copied to clipboard
Toast Not working in with React-native 0.71.8 version
Describe the bug A clear and concise description of what the bug is.
Steps to reproduce Steps to reproduce the behavior:
- Go to '...'
- Tap on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Code sample To help debugging, please add a code sample that reproduces the issue.
Environment (please complete the following information):
- OS: [iOS, Android, Web]
- react-native-toast-message version: [e.g. v2.0.0]
- react-native version [e.g. v0.65.0]
Additional context Add any other context about the problem here.
Facing the same error for the said version
works with 72.1
Not working with 72.1
not working also in 71.7
also not working in 0.72.3
Make sure you're adding the <Toast /> tag as the last child in your app.js file
Only Android Not working.... at 71.8
Refactor app.tsx make it work with this
import Toast from 'react-native-toast-message';
export function App(props) {
return (
<>
{/* ... */}
<Toast />
</>
);
}