Skip to content
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
@jgw96

Description

@jgw96

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions