Good practises for keeping data updated using FIREBASE

Good morning.

I’ve been working with Ionic for a while, but I still have not found the best way to keep my FIREBASE data updated throughout the app.

This is one of the project I’m working on : https://github.com/oriongunning/myExpenses
Demo can be seen here : http://www.oriongunning.com/demo/myexpenses

  1. Can anybody counsel me on whether I’m doing this right or not?
  2. When I login, the data is quite easy to get, but if someone comes back to the app 1 day later, how to I make sure the data is correctly updated…?
  3. If I login, go to the expenses tab, then logout, login, go back to the expenses tab, I don’t undestant why no data appears?

I’m pretty I’m not the only one struggling with this…

Thanks to Ionic Team for this amazing tool :smile:

Regards,
Orion