I use Firebase and Swift.
There is an extreme case in which both completion handlers of an observer
do not execute:
Observer's completion handler not called, how to check in code
and this:
Remove a user through dashboard, but the user is still logged in?
ref.child("users/\(user.uid)").observe(.value, with: { (snapshot) in
print(snapshot)
}, withCancel: { error in
print(error)
})
App does not stop at breakpoints on any prints.
How to check for this case programatically? In this particular case I need to do a logout for the user.