Segment not working on Android

Hey guys,

I was having issues getting Segment to initialize but after installing expo@20.1.1 it seems to be working okay with iOS.

On Android however, I’m getting this error:

My App.js looks like this:

class App extends Component {

  componentWillMount() {
    Segment.initialize({ androidWriteKey, iosWriteKey });


It’s working for iOS. I can see the events coming through in Segment. Am I doing something wrong?

Should also note that I’m not getting any errors on the standalone app. I’m not getting any events tracked either though.

Thank you!

1 Like

Having the same issue here. Did you figure out a fix for this?


Did you see this question?