IOS 12.2 - Safari 12.1 - INTERNAL UNHANDLED ERROR: ... error ... Indexed Database server (original) (raw)
My environment
- Operating System version: IOS 12.2
- Browser version: Mobile Safari 12.1
- Firebase SDK version: 5.9.3
- Firebase Product: Firestore
- JS Framework: Vue.js
The problem
This problem comming with the IOS 12.2 update.
Every time i send my App to the background, launch an other app and come back to my app, my app freeze due to this error :
- @firebase/firestore: Firestore (5.5.0): INTERNAL UNHANDLED ERROR: An internal error was encountered in the Indexed Database server
When i disable persitence it seems to be working but it's really slow.
An other error throw after for each action :
- AsyncQueue is already failed: An internal error was encountered in the Indexed Database server
Sentry issue :
https://sentry.io/share/issue/e4a452668dd54497b20c20d720a0aa3e/
Steps to reproduce:
Have a snapshot on collection on your app and enable persistence on
IOS 12.2
Mobile Safari 12.1
Kill all your app
Launch your app -> make some action calling snapshot
Back IOS Home
Launch an other app (ex: twitter)
Back IOS Home
Lanch your app -> error throw