This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.
Ionic 2 RC0 Pre-Populated databases #127
Open
Description
From @iursevla on October 9, 2016 8:40
In ionic beta 11 i would put the pre-populated database on /www folder and use cordova-sqlite-ext plugin with options:
let options = { name: 'myDatabase.db', existingDatabase: true };
Now in RC0, it won't work because everytime we run (ionic run...) the www folder is overwritten.
I tried to put it on /src OR in /src/assets but with no luck in both cases.
So, where should i put pre-populated databases in ionic 2 RC0 ?
Copied from original issue: ionic-team/ionic-framework#8583
Metadata
Metadata
Assignees
Labels
No labels