-
Notifications
You must be signed in to change notification settings - Fork 13.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
Error: Uncaught (in promise): false errors #11341
Comments
@basvdijk Are you using ionViewCanLeave or ionViewCanEnter? |
@manucorporat No nothing of these two. I had this problem before, first I had:
then later I tried
|
So you don't use why do you think it is related with Toast? |
works but:
does not? |
No they both work, I thought the problem was the present() was not finished while I already was navigating to another page. I use Alert and Toast through my app. I've got the Also since the error doesn't occur all the time and imho quite random I guess it could be a race condition. This race condition could make sense for presenting a toast and navigating away from the page. |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[X] 3.x
I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In general I see a lot errors in Sentry of which I think are all related to toast and popups. Which might also be related to the NavController. I cannot reproduce these since they occur on my customers app installations.
Expected behavior:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: