Closed billtlee closed 5 years ago
I'm not really familiar with React Native. Are you running this code in a browser?
The code is running on iOS.
It appears that react-native does not support indexeddb yet. Hopefully it will soon.
Yeah, this is a wrapper library, so it needs to run in an environment that has indexeddb.
In react native, I have a file call mydb.js
in another file I am calling
For some strange reason, if I have remote debugging on, everything works fine. As soon as I turn off debugging, I am getting an error
Can't find variable: indexedDB openDB index.js: 15:30 blah blah blah
Does anyone know why this might be happening?
Thanks!