Wallet example wasm problem

Hi, I’ve implemented this example: concordium-node-sdk-js/examples/wallet at main · Concordium/concordium-node-sdk-js · GitHub on nextjs without web workers and it works well on chrome, but it’s not working on android browser

When I implemented it as in the example with web workers I’m getting document is not defined error
this error comes from identity-worker.ts file’s const identityRequest = createIdentityRequestWithKeys(e.data); line

with web workers comes from createIdentityRequestWithKeys method