# IOS logout from device every day, localStorage data gets cleared

**URL:** <https://forum.ionicframework.com/t/ios-logout-from-device-every-day-localstorage-data-gets-cleared/68239>\
**Category:** ionic-v1\
**Created:** [October 26, 2016, 7:21am UTC](https://forum.ionicframework.com/t/ios-logout-from-device-every-day-localstorage-data-gets-cleared/68239 "2016-10-26T07:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![addwebsolution](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/addwebsolution/32/120392_2.png) [@addwebsolution](https://forum.ionicframework.com/u/addwebsolution)\
**Post date:** [October 26, 2016, 8:03am UTC](https://forum.ionicframework.com/t/ios-logout-from-device-every-day-localstorage-data-gets-cleared/68239/5 "2016-10-26T08:03:37Z")

</div>

Also according to [iOS localstorage persistence](https://forum.ionicframework.com/t/ios-localstorage-persistence/20004) this discussion it is always good to use other libraries like ngStorage for the localstorage persistency.

---

_[View the full topic](https://forum.ionicframework.com/t/ios-logout-from-device-every-day-localstorage-data-gets-cleared/68239)._
