Having issues with WebStorage on reactnative

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:

    • Verifier Name: swiss-wallet-auth0
    • JWKS Endpoint:
    • Sample idToken(JWT)
      “idToken”: “eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im00S0Rwb3hxT0hyZzJaOEthZ2JRUSJ9.eyJnaXZlbl9uYW1lIjoiQW50b255IiwiZmFtaWx5X25hbWUiOiJIYWxpbSIsIm5pY2tuYW1lIjoiYW50b255LmhhbGltIiwibmFtZSI6IkFudG9ueSBIYWxpbSIsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQWNIVHRkMVVoSWdHYlhuaHc0Zkh2Y25IdWVUeVRrUndpUXRFdmJHejNPNz1zOTYtYyIsImxvY2FsZSI6ImVuIiwidXBkYXRlZF9hdCI6IjIwMjMtMDUtMjRUMTc6Mjk6MDEuMjAzWiIsImVtYWlsIjoiYW50b255LmhhbGltQGdkcGxhYnMuaWQiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6Ly9kZXYtMmF2MXFmc3pxcmt1bnZqdS51cy5hdXRoMC5jb20vIiwiYXVkIjoidzFXUUJIUnZKeTFwUlNaOHZTRHNqbWtxc2tucW9oV0wiLCJpYXQiOjE2ODQ5NDkzNDEsImV4cCI6MTY4NDk4NTM0MSwic3ViIjoiZ29vZ2xlLW9hdXRoMnwxMTA1MzY1NzQ2NjA4NTYwODM5MTMiLCJhdXRoX3RpbWUiOjE2ODQ5NDkzNDEsImF0X2hhc2giOiJwOHBLbTN0aDF4b2FFckZKb2hkSTZ3Iiwic2lkIjoiVWxwMlNnOXN1QVF1d05FRmM1eEw4akNnMHNsWjJXMlQiLCJub25jZSI6ImViYWZlNWEyLWMxNGEtNGI2YS04MTlhLWNhOGVjZWRmNWM2YSJ9.K4M0rwEqE2JioUx7PrdBWwUzdDOZ1sOT2wKlvQ3qDpj2DY-JV_AgedbWbgM3rV5lcqrjeVxbJK-wwCvOq52rw0iEt0OOs4P_LlATybZsYbsh-9FxKGdWumEkjr38WJuBkPqXPZu9Mp6bgK-H5PSrOOvy-QtWClPnlRd50ru0_NmH8NRBRXdhCmTf96-z0VYreYdsHZe9Eove2gVHd-X1-6tLFgmo7cC62nrcGjdmiamolc5e5z-_-rrQAPmFfEBzHgCiWK5irNCU550Ecw-KrzEK6c0hBQCk1DPwJk2rBqPDXiVrWV1M1LCDS8U7PFw9R6rBX6hNeozmZuUGux-rog”

@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.