Amplitude analytics not connecting

#1

I am trying to hook up to amplitude analytics and now 18 hours after pushing code to my users, Amplitude still says “Listening for first event”. All I’ve done is initialized, which I hoped would give me basic info about users connecting to my app like DAUs. I initialized in componentDidMount in app.js. Here is my code:

import Amplitude from 'expo';

export default class App extends React.Component {


componentDidMount() {

   Expo.Amplitude.initialize('my API Key');

}


  render() {
    return (
      <View style={styles.container}>
        <StatusBar
          barStyle="dark-content"
        />
      <Ladder />
      </View>
    );
  }
}
#2

Hi! It looks like you might want to initialize Expo.Amplitude.initialize('...') as just Amplitude.initialize('...'), based on the import in your first line. Let me know if that fixes it!