# Ionic View 1.0.6 – no localStorage?

**URL:** <https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196>\
**Category:** ionic-v1\
**Created:** [May 21, 2015, 11:54am UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196 "2015-05-21T11:54:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeutschMark](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeutschMark](https://forum.ionicframework.com/u/DeutschMark)\
**Post date:** [May 21, 2015, 11:54am UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/1 "2015-05-21T11:54:05Z")

</div>

After the update to the above stated version, the ionic view app seems to clear the LocalStorage each time an app is launched. LocalStorage was saved before. Any ideas, please?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![cadair](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@cadair](https://forum.ionicframework.com/u/cadair)\
**Post date:** [May 22, 2015, 8:30pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/2 "2015-05-22T20:30:44Z")

</div>

@DeutschMark Have you had any luck solving this issue? I’m experiencing the same issue since the upgrade to Ionic View 1.0.6.

---

<div class="post-metadata">

**Author:** ![DeutschMark](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeutschMark](https://forum.ionicframework.com/u/DeutschMark)\
**Post date:** [May 25, 2015, 2:58pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/3 "2015-05-25T14:58:27Z")

</div>

@cadair unfortunately not. hope to get the authorities to know about this issue via this thread here. Any advice from them? Please.

---

<div class="post-metadata">

**Author:** ![DeutschMark](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeutschMark](https://forum.ionicframework.com/u/DeutschMark)\
**Post date:** [May 27, 2015, 11:19am UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/4 "2015-05-27T11:19:11Z")

</div>

Anyone, please? This is quite some issue.

---

<div class="post-metadata">

**Author:** ![DeutschMark](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeutschMark](https://forum.ionicframework.com/u/DeutschMark)\
**Post date:** [May 29, 2015, 12:34pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/5 "2015-05-29T12:34:32Z")

</div>

Who can I adress with that problem?

---

<div class="post-metadata">

**Author:** ![Gudhome](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@Gudhome](https://forum.ionicframework.com/u/Gudhome)\
**Post date:** [May 29, 2015, 10:29pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/6 "2015-05-29T22:29:46Z")

</div>

I have the same issue. Would be great to get some resolution on this.

---

<div class="post-metadata">

**Author:** ![tim](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tim/32/7550_2.png) [@tim](https://forum.ionicframework.com/u/tim)\
**Post date:** [June 15, 2015, 1:36pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/7 "2015-06-15T13:36:31Z")

</div>

Hey this is intentional, as apps had access to View’s and other apps’ localStorage which was causing issues. As a fix, we made it so localStorage is cleared after each use, but getting localStorage to persist on a per app basis is probably doable and will be added in the future (since it sounds like clearing localStorage causes just as many issues!).

---

<div class="post-metadata">

**Author:** ![DeutschMark](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DeutschMark](https://forum.ionicframework.com/u/DeutschMark)\
**Post date:** [June 18, 2015, 10:42am UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/8 "2015-06-18T10:42:29Z")

</div>

Thanks for the reply @tim, really appreciated. Meanwhile I got my developer account so I can test run on an actual device from Xcode. It appears that the local storage works in the app. Deleting and reinstalling the real app clears the LocalStorage, but that is just very fine and actually a desired behaviour.

---

<div class="post-metadata">

**Author:** ![mtoo020](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mtoo020](https://forum.ionicframework.com/u/mtoo020)\
**Post date:** [March 7, 2016, 7:01am UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/9 "2016-03-07T07:01:08Z")

</div>

> [@tim](#):
>
> Hey this is intentional, as apps had access to View’s and other apps’ localStorage which was causing issues. As a fix, we made it so localStorage is cleared after each use, but getting localStorage to persist on a per app basis is probably doable and will be added in the future (since it sounds like clearing localStorage causes just as many issues!).

Hey Tim, it looks like localStorage is still being cleared on iOS after every use but not for Android. Was it only iOS where this was causing issues?

---

<div class="post-metadata">

**Author:** ![djohnsonkc](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@djohnsonkc](https://forum.ionicframework.com/u/djohnsonkc)\
**Post date:** [September 27, 2016, 7:22pm UTC](https://forum.ionicframework.com/t/ionic-view-1-0-6-no-localstorage/25196/10 "2016-09-27T19:22:40Z")

</div>

Hi, just checking if anyone has heard of a plan to not clear localStorage data when the Ionic View app opens/closes an app? Does anyone know if SqlLite databases are retained when Ionic View apps are opened and closed?

Thanks!
