Skip to content

Can't Identify in Android emulator #10

@jamesnocentini

Description

@jamesnocentini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions