I am using latest version of Ionic2, I have used cordova-sqlite-ext but no luck on opening a pre populated database. I have below config.
this.DB.openDatabase({
name: ‘db’,
location: ‘1’, // the location field is required,
backupFlag: 2, // not sure if it is correct value.
existingDatabase: true
})
Please suggest