# \[Archive\] Having issues with WebStorage on reactnative

**URL:** <https://builder.metamask.io/t/archive-having-issues-with-webstorage-on-reactnative/1925>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [May 24, 2023, 5:41pm UTC](https://builder.metamask.io/t/archive-having-issues-with-webstorage-on-reactnative/1925 "2023-05-24T17:41:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony.halim](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@antony.halim](https://builder.metamask.io/u/antony.halim)\
**Post date:** [May 24, 2023, 5:41pm UTC](https://builder.metamask.io/t/archive-having-issues-with-webstorage-on-reactnative/1925/1 "2023-05-24T17:41:05Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **antony.halim** on 5/24/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

The web version of tkey demo which uses WebStorage is working fine.  
But I can’t seem to make it work on the react-native.

If I include the web storage object in the storage modules when creating the ThresholdKey object, then calling the tkey.initialize will fail with the following exception:

```
[ReferenceError: Property 'DOMException' doesn't exist]

```

And tkey.modules.webStorage is unusable basically.

Note that the SecurityQuestionsModule is working as expected.

* * *

Runtime info:

- SDK Version:  
“@tkey/default”: “^9.0.1”,  
“@tkey/security-questions”: “^9.0.0”,  
“@tkey/service-provider-base”: “^9.0.0”,  
“@tkey/share-serialization”: “^9.0.1”,  
“@tkey/share-transfer”: “^9.0.0”,  
“@tkey/storage-layer-torus”: “^9.0.0”,  
“@tkey/web-storage”: “^9.0.0”,

- Verifier Details:

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [June 24, 2023, 3:14am UTC](https://builder.metamask.io/t/archive-having-issues-with-webstorage-on-reactnative/1925/2 "2023-06-24T03:14:15Z")

</div>

@antony.halim Thanks for your patience.

Your issue has been submitted to our team. We will get back with further updates once more information becomes available.
