Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible anonymous ids #696

Closed
RohovDmytro opened this issue Oct 19, 2022 · 6 comments · Fixed by #700
Closed

Incompatible anonymous ids #696

RohovDmytro opened this issue Oct 19, 2022 · 6 comments · Fixed by #700
Labels
bug Something isn't working released

Comments

@RohovDmytro
Copy link

RohovDmytro commented Oct 19, 2022

Latest segment version generates anonymous id which is not compatible with anonymous id of MixPanel.

image

@RohovDmytro RohovDmytro added the bug Something isn't working label Oct 19, 2022
@jparksecurity
Copy link

I got the same error on Android and iOS. However, it happens to me only if I use expo run or expo start --dev-client.

It works on the build.

Working(build)
Working

iOS Not working
iOS - not working

Android Not working
Android - not working

My environment is

├─ @segment/analytics-react-native@2.7.1
└─ @segment/sovran-react-native@0.4.4

@RohovDmytro
Copy link
Author

Yeah, the dev and release build use different mechanism of generating anonymous id. The proposal is to at least unify the format of the string.

@oscb
Copy link
Contributor

oscb commented Nov 1, 2022

Seems like we only had the DEV behavior due to an old RN bug that has already been fixed. I'll remove it in the next release.

@oscb
Copy link
Contributor

oscb commented Nov 1, 2022

🎉 This issue has been resolved in version @segment/analytics-react-native-v2.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@oscb oscb added the released label Nov 1, 2022
@willdawsonme
Copy link

This change breaks the ability to use the javascript debugger. As soon as the debugger is activated, I get the aforementioned react-native error: facebook/react-native#26705. There's some relevant discussion over at react-native-device-info: react-native-device-info/react-native-device-info#776.

Is there a way to make this UUID call asynchronous so consumers can use the debugger?

@oscb
Copy link
Contributor

oscb commented Nov 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants