react-native-sqlite-storage icon indicating copy to clipboard operation
react-native-sqlite-storage copied to clipboard

Error Location __NSPlaceholderDictionary in the IOS

Open ocharlespereira opened this issue 3 years ago • 0 comments

Hi, I'm having problems running the app, for some reason, when creating a new database, when I leave the location: 'Shared' the app crashes. But when I change to location: 'Library' or 'default' the error is coming out. Can you tell me what is happening, and what is the difference between these locations?

"react-native-sqlite-storage": "^5.0.0",

public async createConnection(): Promise<SQLite.SQLiteDatabase> {
    return SQLite.openDatabase({
      name: 'banking.db.sqlite3',
      location: 'Shared',
    });
  }

Image from iOS

ocharlespereira avatar Jul 29 '22 17:07 ocharlespereira