ionic-team / ionic-team/ionic-storage

Storage cleared everytime the app closes/on refresh

Open
#165 16 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
456
Forks
97
PR merge metrics
No merged PRs in 30d

Description

I'm using `@ionic/storage` v2.2.0 with Ionic v4 and Angular v7, and in development mode, the storage (IndexedDB in that case) is cleared on refreshing the page.

On mobile (with Cordova on Android v7.1.4), the storage is cleared upon closing the app.

I use NO extra settings in my app for the storage and used it just like the instructions [here](https://ionicframework.com/docs/building/storage) (I installed the npm package and the Cordova plugin).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.