خرید بک لینک

Vote count: 0

I would like to trigger a function on the callback of the initial application initialization.

Currently the documentation suggests using the onAuthStateChanged and this works fine after the initial load.

When the page first loads I would like to display a spier to represent checking to see if the user is already authenticated.

The thing is, onAuthStateChanged will only execute if a user is found and logged in, I need to be notified if no user was found.

Can this be done?

asked 59 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 27 خرداد 1395 ساعت: 12:41

صفحه بندی