-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
Description
Please fill in the following fields:
Pre-built SDK from the website
Firebase C++ SDK version: 6.8.0
Firebase plugins in use (Auth, Database, etc.): App, Auth, Realtime Database
Additional SDKs you are using (Facebook, AdMob, etc.): Qt 5.12.5
Platform you are using the C++ SDK on (Mac, Windows, or Linux): Windows 10
Platform you are targeting (iOS, Android, and/or desktop): Desktop
Please describe the issue here:
- Sign-in existing user with Auth (email + password)
- Get database reference for a selected root node
- Add ChildListener to this node
- Desktop application is running: ChildListener is triggered for every child nodes
- Add some child node from a mobile application: ChildListener is triggered for every new child nodes
- Both mobile and desktop applications are running for more than 1 hour in "idle state". (always connected, no sleep mode, no new child nodes are being sent from mobile app)
- Add some new child node from a mobile application: these nodes can be shown in Firebase web console but ChildListener is NOT triggered anymore on desktop! Re-login and new database reference is required in order to get them.
Q: What is the best practice to always get the new child nodes on desktop? How long is the connection alive?
Please answer the following, if applicable:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
Did not tried.