My Ionic app was working fine and I haven\'t done anything to it but suddenly I am getting this error and I don\'t know why.
\"Error: Uncaught (in pro
For me, the problem was that I had
dismissOnPageChange: true
when I created the loadingCtrl.
The .dismiss() was being called too soon after the .present() (during local testing the api responds really fast) and it seems having that parameter caused the issue. Removing it solved it for me.