-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels