I implemented the solution in a Firebase wrapper and it works great.
Anyway, Google is solving this in JS by implementing persistence.
https://github.com/firebase/firebase-js-sdk/issues/17
I implemented the solution in a Firebase wrapper and it works great.
Anyway, Google is solving this in JS by implementing persistence.
https://github.com/firebase/firebase-js-sdk/issues/17