### Describe the bug I'm getting `crypo.getRandomValues must be defined` when trying to get this guide to work: https://www.smartwallet.dev/guides/react-native-integration ### Steps I'm getting `crypo.getRandomValues must be defined` as error message when clicking the button and `connect` ```ts const { connect, connectors, error } = useConnect(); ``` I added the polyfills and confirmed they are working with ```ts const array = new Uint32Array(2); crypto.getRandomValues(array); console.log("Your lucky numbers:"); for (const num of array) { console.log(num); } ``` Is there a working example as a starting point? ### Expected behavior Not seeing an error message ### Version _No response_ ### Additional info _No response_ ### Desktop _No response_ ### Smartphone iOS
Activity
jbreite commentedon Sep 4, 2024
Made this as a starter for people since I ran into a bunch of issues too.
Lmk if it helps!
https://github.com/jbreite/cbsw-wagmi-expo-router-template