Hey there,
My app uses authWithOAuthProvider to authenticate against Facebook.
In the app delegate, I set up observeAuthEventWithBlock so I can monitor (checking authData value) auth changes and react accordingly.
This worked fine since a couple of weeks where observeAuthEventWithBlock started not to be called anymore.
On the first auth, it works great observeAuthEventWithBlock is called with authData not null.
Then if I call unauth() on a reference, sometimes observeAuthEventWithBlock is called with null authData as expected, sometimes it is not called.
In the latter case, closing the app and re-opening always leads to the good call.
Even if unauth worked as expected, re-auth never leads to the callback being called.
In that case, closing the app, and re-opening it triggers the right call.
I have persistence enabled, Firebase 2.4.3 and swift 2.1.
Has anyone notice such a behaviour? It's been working for months...
Thanks for any help.
F.