# Ionic Storage not working in real devices

**URL:** <https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642>\
**Category:** ionic-v3\
**Created:** [November 29, 2016, 7:18am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642 "2016-11-29T07:18:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![udarachathuranga](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@udarachathuranga](https://forum.ionicframework.com/u/udarachathuranga)\
**Post date:** [November 29, 2016, 7:18am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/1 "2016-11-29T07:18:03Z")

</div>

I have followed Ionic storage tutorial in [Ionic Storage tutorials].([https://ionicframework.com/docs/v2/storage/](https://ionicframework.com/docs/v2/storage/))  
It works fine in my browser. But in my testing device it not working. Its mean after I closed the app in device and re-lunch it the stored values are gone. But in browser It works properly.

---

<div class="post-metadata">

**Author:** ![udarachathuranga](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@udarachathuranga](https://forum.ionicframework.com/u/udarachathuranga)\
**Post date:** [November 29, 2016, 7:22am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/2 "2016-11-29T07:22:38Z")

</div>

This is my ionic info

_Your system information:_

\_ ordova CLI: 6.4.0\_  
_Ionic Framework Version: 2.0.0-rc.3_  
_Ionic CLI Version: 2.1.13_  
_Ionic App Lib Version: 2.1.7_  
_Ionic App Scripts Version: 0.0.45_  
_ios-deploy version: Not installed_  
_ios-sim version: Not installed_  
_OS: Windows 8_  
_Node Version: v6.9.1_  
_Xcode version: Not installed_

---

<div class="post-metadata">

**Author:** ![Web\_Wild\_Web](https://avatars.discourse-cdn.com/v4/letter/w/f08c70/32.png) [@Web\_Wild\_Web](https://forum.ionicframework.com/u/Web_Wild_Web)\
**Post date:** [November 29, 2016, 8:41am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/3 "2016-11-29T08:41:14Z")

</div>

Me too also, this is my ionic info also

Your system information:

Cordova CLI: 6.4.0  
Ionic Framework Version: 2.0.0-rc.2  
Ionic CLI Version: 2.1.13  
Ionic App Lib Version: 2.1.7  
Ionic App Scripts Version: 0.0.43  
ios-deploy version: 1.8.6  
ios-sim version: 5.0.4  
OS: macOS Sierra  
Node Version: v6.9.1  
Xcode version: Xcode 8.1 Build version 8B62

I’m testing on iPhone 6S iOs 10.1.1

---

<div class="post-metadata">

**Author:** ![Web\_Wild\_Web](https://avatars.discourse-cdn.com/v4/letter/w/f08c70/32.png) [@Web\_Wild\_Web](https://forum.ionicframework.com/u/Web_Wild_Web)\
**Post date:** [November 30, 2016, 8:31am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/4 "2016-11-30T08:31:45Z")

</div>

Solved by removing the plugin of sqllite

cordova plugin rm cordova-sqlite-storage

it work perfecctly without the sqlite plugin

---

<div class="post-metadata">

**Author:** ![udarachathuranga](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@udarachathuranga](https://forum.ionicframework.com/u/udarachathuranga)\
**Post date:** [November 30, 2016, 10:47am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/5 "2016-11-30T10:47:19Z")

</div>

thankz… Itz working.

---

<div class="post-metadata">

**Author:** ![tharrington1](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tharrington1](https://forum.ionicframework.com/u/tharrington1)\
**Post date:** [May 9, 2017, 4:04pm UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/6 "2017-05-09T16:04:41Z")

</div>

This doesn’t work for me in either case…

Your system information:

Cordova CLI: 7.0.0  
Ionic Framework Version: 3.1.1  
Ionic CLI Version: 2.2.3  
Ionic App Lib Version: 2.2.1  
Ionic App Scripts Version: 1.3.7  
ios-deploy version: 1.9.0  
ios-sim version: 4.1.1  
OS: macOS Sierra  
Node Version: v6.9.4  
Xcode version: Xcode 8.3.2 Build version 8E2002

---

<div class="post-metadata">

**Author:** ![polfdz](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@polfdz](https://forum.ionicframework.com/u/polfdz)\
**Post date:** [December 19, 2017, 8:48am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/7 "2017-12-19T08:48:51Z")

</div>

Any update on this? I tried removing the cordova-sqlite-storage but it is still not working.

my ionic info:

```
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0

```

global packages:

```
cordova (Cordova CLI) : 6.5.0 

```

local packages:

```
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 6.4.0 ios 4.3.1
Ionic Framework : ionic-angular 3.6.1

```

System:

```
ios-deploy : 1.9.2 
ios-sim : 6.1.2 
Node : v8.9.1
npm : 2.15.12 
OS : macOS High Sierra
Xcode : Xcode 9.1 Build version 9B55
```

---

<div class="post-metadata">

**Author:** ![Lyhout](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lyhout/32/128823_2.png) [@Lyhout](https://forum.ionicframework.com/u/Lyhout)\
**Post date:** [November 28, 2019, 5:42am UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/8 "2019-11-28T05:42:36Z")

</div>

i have the same problem when i use it with android 6,7,8 it works normal but when it opens with android 9 it 's not working.

---

<div class="post-metadata">

**Author:** ![yenes11](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/yenes11/32/142132_2.png) [@yenes11](https://forum.ionicframework.com/u/yenes11)\
**Post date:** [August 2, 2022, 3:58pm UTC](https://forum.ionicframework.com/t/ionic-storage-not-working-in-real-devices/71642/9 "2022-08-02T15:58:45Z")

</div>

Thank you so much you saved my life.
