Open aalbaharnah opened 3 years ago
I was having same issue. Problem fixed when I cleared cache and restart simulator.
npx react-native start --reset-cache
yarn ios
Facing the same issue. Getting always error "undefined is not a function". Tried various ways. Is there a working complete example for reference? Thanks in advance.
There seems to be an issue that prevents sqlite databse from opening when calling
SQLite.openDatabase
on windows platform here's the codeExpected Behavior
calling
SQLite.openDatabase
should open database without errors, so that sql transactions can be executedCurrent Behavior
calling
SQLite.openDatabase
would throw an error that saysCannot read properties of undefined (reading 'open')
Your Environment
Debug logs
Cannot read properties of undefined (reading 'open')