How to use pre-filled SQLite database in Ionic2?


#1

I saw that Ionic2 support SqlStorage and only for table creation, I don’t know how to use pre-filled sqlite db with SqlStorage.
Can any help me about this?
Thanks in advance!!


#2

You need the cordova-sqlite-ext plugin. As far as I know the Ionic SqlStorage does not allow you to use an existing db yet. So you’ll need to interact with the plugin directly. But since we are in beta new features are being added with each release.


#3

How can I use setup status bar while building big sql during initialize ? And when finish, it will open home page, is possible ?