# Cordova to Capacitor, storage feature

**URL:** <https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241>\
**Category:** Capacitor\
**Created:** [September 26, 2022, 7:58pm UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241 "2022-09-26T19:58:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsantaniello](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@lsantaniello](https://forum.ionicframework.com/u/lsantaniello)\
**Post date:** [September 26, 2022, 7:58pm UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241/1 "2022-09-26T19:58:11Z")

</div>

I developed several ionic cordova applications. Now I’m migrating an app on capacitor. I need to use Storage feature.

On cordova app i used:

```auto
npm install @ionic/storage-angular
ionic cap sync

```

```auto
import { Storage } from '@ionic/storage';

```

On capacitor app, it not works. Library not found

What is the solution?

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [September 26, 2022, 9:15pm UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241/2 "2022-09-26T21:15:28Z")

</div>

Assuming you are still using Angular, check out the Angular documentation here - [GitHub - ionic-team/ionic-storage: Ionic Storage module for Ionic apps](https://github.com/ionic-team/ionic-storage#with-angular).

---

<div class="post-metadata">

**Author:** ![lsantaniello](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@lsantaniello](https://forum.ionicframework.com/u/lsantaniello)\
**Post date:** [September 27, 2022, 7:16am UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241/3 "2022-09-27T07:16:38Z")

</div>

Thanks @twestrick. I’m using it for cordova but is it compatible with capacitor?

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [September 27, 2022, 12:58pm UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241/4 "2022-09-27T12:58:14Z")

</div>

Ionic Storage is all web technology unless you are using SQLite with it. If you are using SQLite, then you have to use the `localForage-cordovaSQLiteDriver` plugin for native storage.

---

<div class="post-metadata">

**Author:** ![lsantaniello](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@lsantaniello](https://forum.ionicframework.com/u/lsantaniello)\
**Post date:** [September 27, 2022, 1:13pm UTC](https://forum.ionicframework.com/t/cordova-to-capacitor-storage-feature/227241/5 "2022-09-27T13:13:12Z")

</div>

Thankyou @twestrick.
