andpor / react-native-sqlite-storage

Full featured SQLite3 Native Plugin for React Native (Android and iOS)
MIT License
2.75k stars 521 forks source link

Error Location __NSPlaceholderDictionary in the IOS #528

Open ocharlespereira opened 2 years ago

ocharlespereira commented 2 years ago

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