Closed burhanahmed92 closed 5 years ago
I will check it
Sorry for the wrong docs, i already fixed it. The getter database
must return an async function
, not promise
.
static get database() {
return async () => SQLite.openDatabase('database.db')
}
Thanks for the contribution.
for expo cli version 3.11.3 use below line for import
import * as SQLite from 'expo-sqlite';
I am Using the Latest Expo Version 32.0.0. Added this libray with given yarn code.
Now when i run the Animal Example it shows this warning in console
Possible Unhandled Promise Rejection (id: 0): Object :{}
Kindly tell what am i missing
I tried several time & rebuilt the project couple of time. Still it shows the error
My Code
My App.JS