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

Can't Identify in Android emulator #10

Open
jamesnocentini opened this issue Aug 18, 2014 · 0 comments
Open

Can't Identify in Android emulator #10

jamesnocentini opened this issue Aug 18, 2014 · 0 comments

Comments

@jamesnocentini
Copy link

I'm having troubles using segment io analytics on Android emulators. It works fine on the iOS simulator though.

That's the error I get on Android devices: http://cl.ly/X5LD/Screen%20Shot%202014-08-18%20at%2009.58.08.png

angular-segmentio seems to be relaying the work to analytics.js properly but analytics.js doesn't send the required json in the Body of POST requests. The response message is {"message":"You must supply either an anonymousId or a userId string.","code":"invalid_request_error"}

I will investigate more to see where it might be coming from. Also, is the version of analytics.js being downloaded v1 as this line suggests? https://github.com/arnaudbreton/angular-segmentio/blob/master/angular-segmentio.js#L51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant