@fate, were you able to solve this? I have exactly the same problem. Everything works fine using ionic serve with a desktop browser but it does not work using real devices. In addition, everything works fine using real device and broke when I added the inappbrowser. I dont know what happened. I hope someone may notice this. TIA.
My apology, I cant create it right now. I hope you understand. Anyway, I noticed that it happens when after I login in firebase and sets the root page to a page where it contains the tabs, that page loads twice. And if I update a User’s node using other device, the whole page on the first device reloads the third time even if the current tab is not the default. If I update a User’s node, it will repeat the same process over and over again. It happens only on a real device and works fine using Chrome.
You probably are not unsubscribing when the tabs change. So you end up with 3 competing subscriptions if you have 3 tabs. I don’t know exactly how tabs work, but with regular pages, you can avoid this by subscribing in ionViewWillEnter and unsubscribing in ionViewWillLeave.
Everything works fine unless I update a node User’s account. I have other list loaded on page and updating these lists does not reload the whole page which is correct. The only thing is the error comes up when updating only User’s node. Thank you so much for helping.
Well, 99% it’s an issue in your code, because I use AF and it doesn’t happen to me. My guess is that you are subscribed to valueChanges or snapshotChanges and you don’t realize it.
Thanks @AaronSterling. I tried but it did not continue to the supposed landing page when adding take(1). I also tried to log the error but nothing was logged.