You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to have an example for how to use rxfire with react-native.
I guess the problem is that the rnfirebase api differs from firebase web. Therefore the authentication example does not work as described in the rxfire docs.
Something like: const loggedIn$ = authState(firebase.auth()); loggedIn$.subscribe(user => { console.log(user); });
would error with listener is not a function.
However subscribing to rt-database objects works just like expected. But I could also simply fromEvent(ref, 'value') at this point i guess.
The text was updated successfully, but these errors were encountered:
Would be great to have an example for how to use rxfire with react-native.
I guess the problem is that the rnfirebase api differs from firebase web. Therefore the authentication example does not work as described in the rxfire docs.
Something like:
const loggedIn$ = authState(firebase.auth()); loggedIn$.subscribe(user => { console.log(user); });
would error with
listener is not a function
.However subscribing to rt-database objects works just like expected. But I could also simply
fromEvent(ref, 'value')
at this point i guess.The text was updated successfully, but these errors were encountered: