mixpanel-react-native
Advanced tools
Changelog
v3.0.0-beta.1 (2024-02-29)
This version(PR #223) introduces support for Expo, React Native Web, and any platform using React Native that does not support iOS and Android. To activate this, initialize Mixpanel with an additional parameter useNative
set to false, which will enable JavaScript mode. Currently in beta, we plan to iterate on this to address any issues and add more features. We welcome your feedback.
const trackAutomaticEvents = false;
const useNative = false;
const mixpanel = new Mixpanel(
"YOUR_MIXPANEL_TOKEN",
trackAutomaticEvents,
useNative
);
mixpanel.init();
To try the Expo sample app, navigate to Samples/MixpanelExpo
, run npm install
, and then execute npm run ios
or npm run android
Known limitations and differences compared to the native mode (iOS/Android):
Changelog
v2.3.0 (2023-06-16)
Closed issues:
Changelog
v2.2.0 (2023-03-06)