Decode undefined: setup using expo workflow

web3auth/react-native-sdk: ^7.0.0,

Hello guys, I face some issue when setup the web3auth plug n play using react native expo workflow.

I refer to these:

The issue I face is when I call web3auth.init(), I got this error:

I already follow exactly for globals.js, metro.config.js and index.js

1 Like

Hey @wanahmadsidqi can you please the polyfill you did for Expo? It looks like a polyfill issue.

Hey @wanahmadsidqi,

Did you have a chance to look at our migration guide that lists the new recommended metro configurations? You can find it here: Migration Guide: RN v5 to v6.

Please try it out and let me know if it works for you.

Hey folks! Just notice the same error to me. Even with the same doc’s configs, still showing this error after build.

hey @maharshi! Have a great week

I just find out the same issue for me. I did all setup for metro.config.js, index.js and global.js based on Web3Auth docs.

Do you know if the issue is already fixed in a newest version?