mixpanel-react-native
mixpanel-react-native copied to clipboard
Fix creating device UUID from Expo
The current uuid.v4() implementation crashes on Expo, so tracking events don't have a device ID. This PR tries creating the ID with Expo's crypto module first, then falls back to uuid.v4()