firebase / firebase/firebase-js-sdk
Safari gets stuck when using cache
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
### Operating System
MacOS Sonoma 14.4
### Browser Version
Safari 17.4
### Firebase SDK Version
10.8.0
### Firebase SDK Product:
Firestore
### Describe your project's tooling
NA
### Describe the problem
Context: https://github.com/firebase/firebase-js-sdk/issues/7940
Internal tracking ticket: b/330146982, b/330181199
A developer, @jmw11x reports Safari getting stuck when using cache.
After initial investigation, the root cause is data stored in cache on Safari lost at some point. The problem is related to Safari indexdb issue. The Firestore SDK team hasn't find work around so far.
### Steps and code to reproduce issue
The issue can be consistently reproduced on Safari using developer's repo App : https://github.com/jmw11x/FirebaseFirestore-Case-10271607/tree/main
Contributor guide
Assessment
This issue has not been assessed yet.