toast.show() function is not working when the app starts #195
Unanswered
wildhunter4137
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While i am using
react-native-toast-notifications
in react native project, i have useduseToast()
in my splashscreen.I have wrapped splashscreen component using
ToastProvider
Here is it
And here is my splashscreen.ts file
And if i start the app, it will send a ping to server and get the response.
And after i get the response, this error has occurred
I dont know what the reason is, maybe there is delay to initialize the toast using useToast() hook?
I would appreciate it if someone could help me with this problem.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions