firebase-js-sdk
firebase-js-sdk copied to clipboard
DOMException: Failed to execute 'put' on 'IDBObjectStore': The transaction is not active.
Operating System
mac OS
Browser Version
all of browser
Firebase SDK Version
10.7.2
Firebase SDK Product:
Analytics
Describe your project's tooling
with react-native + react-native web.
Describe the problem
intialize firebase sdk and call any other firebase module just always throw this errors
DOMException: Failed to execute 'put' on 'IDBObjectStore': The transaction is not active.
at Proxy.
what's wrong with my project..? i'm using react-native 0.72.7, and react-nativeweb 0.19.9 version
Steps and code to reproduce issue
i have this babel presets.
{
presets: [
[
'@babel/preset-env',
{
loose: true,
corejs: { version: '3.22', proposals: true },
useBuiltIns: 'entry',
targets: { ie: '11' },
},
],
['@babel/preset-react', { runtime: 'automatic' }],
'@babel/preset-typescript',
],
plugins: defaultPlugins,
}
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
This error is generated by the browser's implementation of the IndexedDB API. Can you provide us with a minimal reproducible test case that we can try to debug on our side? Thanks!
Hey @pratt3351. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
This error is generated by the browser's implementation of the IndexedDB API. Can you provide us with a minimal reproducible test case that we can try to debug on our side? Thanks!
well, i dont know exactly test it. it is occurs when initiate firebase sdk and using some kind of functions that produce by firebase remote config functions
We've seen intermittent errors in Safari's implementation of IndexedDB, and we're looking to find a way to reproduce them. We've added many protections about this in the last few months but they were best guesses since we didn't have a reproducible test case, and we're still seeing errors.
If you can provide any more information about the state of the client then that would be extraordinarily helpful. For instance, another user has recently reported that IndexedDB clears its storage database if someone leaves the Safari dev tools open for an hour.
Hey @pratt3351. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@pratt3351 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.