firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Firestore listeners seem to die when app is moved to background for too long
Description
Our app is kind of an iPad based cash register that is only used during the day. During the night, the screen is locked but the devices stay on. On the next day some customers report outdated data that only refreshes once the app is restarted. Similar problems have been reported on StackOverflow, for Android and Flutter so I assume that the same could be true for iOS.
Reproducing the issue
The issue is currently hard to reproduce, as it only seems to happen after going to the background for a long time.
Firebase SDK Version
9.6
Xcode Version
14.2
Installation Method
Swift Package Manager
Firebase Product(s)
Firestore
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response