firebase / firebase/firebase-js-sdk

Safari gets stuck when using cache

Open
#8,081 7 comments 2 reactions 1 assignee Claimed by @cherylEnkidu View on GitHub
api: firestore browser-compatibility-issue bug internal-bug-filed
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.