Do Firebase listeners expire?

Viewed 204

What happens if I have not detached my firebase listeners?

Are they going to listen forever or do they have an expiration date?

1 Answers

Firebase Database listeners stay active until:

  1. you remove them in code
  2. the app closes the socket that they depend on. In this case the client will try to reestablish a connection when it is active.
Related