Hello, just got started with mixpanel and I am alr...
# questions
h
Hello, just got started with mixpanel and I am already getting a basic error.
Error: mixpanel-react-native: MixpanelReactNative is null
All I did was follow the steps in the github README: https://github.com/mixpanel/mixpanel-react-native. And then got stuck trying to run my app after Step 3.
Copy code
import { Mixpanel } from 'mixpanel-react-native';
const trackAutomaticEvents = true;
const mixpanel = new Mixpanel(process.env.MIXPANEL_TOKEN!, trackAutomaticEvents);
mixpanel.init();