mixpanel-react-native icon indicating copy to clipboard operation
mixpanel-react-native copied to clipboard

Fix creating device UUID from Expo

Open benkingcode opened this issue 1 year ago • 0 comments

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()

benkingcode avatar Oct 08 '24 18:10 benkingcode