I am getting this error when I host the react app build.
everything works fine on local.
{“name”:“CoreError”,“code”:1000,“message”:“Custom require either serviceProvider or priv key in getGenericMetadataWithTransitionStates”}
I am getting this error when I host the react app build.
everything works fine on local.
{“name”:“CoreError”,“code”:1000,“message”:“Custom require either serviceProvider or priv key in getGenericMetadataWithTransitionStates”}
If it works well in local, can you share the code here?
Btw, there is a guide for using tKey with React at Using Web3Auth Core Kit tKey SDK in a React Application | Web3Auth
Hi,
The issue was resolved by placing service worker file in public directory.
Thanks