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
const { connect, connectors, error } = useConnect();
I added the polyfills and confirmed they are working with
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
Describe the bug
I'm getting
crypo.getRandomValues must be definedwhen trying to get this guide to work: https://www.smartwallet.dev/guides/react-native-integrationSteps
I'm getting
crypo.getRandomValues must be definedas error message when clicking the button andconnectI added the polyfills and confirmed they are working with
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