# Native Storage with iOs not working

**URL:** <https://forum.ionicframework.com/t/native-storage-with-ios-not-working/213879>\
**Category:** cordova\
**Created:** [August 17, 2021, 9:29am UTC](https://forum.ionicframework.com/t/native-storage-with-ios-not-working/213879 "2021-08-17T09:29:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharlesOnAir](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/charlesonair/32/133765_2.png) [@CharlesOnAir](https://forum.ionicframework.com/u/CharlesOnAir)\
**Post date:** [August 17, 2021, 9:29am UTC](https://forum.ionicframework.com/t/native-storage-with-ios-not-working/213879/1 "2021-08-17T09:29:26Z")

</div>

Hello,

I am trying to implement Native Storage on my application. But I can’t store a value.

I followed the tutorial offered by Ionic, but unable to store data during emulation on iOs.

Here is the code :

```auto
his.storage.setItem('tokenaccess', {property: this.tokenAccess})
            .then(
              () => console.log('Stored item!'),
              error => console.error('Error storing item', error)
            );
            //this.router.navigate(['/like-page']);
        }

```

Any ideas to solve this problem ?
