Releases: mixpanel/mixpanel-react-native
Releases · mixpanel/mixpanel-react-native
Release v3.0.8
Release v3.0.7
Release v3.0.6
Release v3.0.5
Release v3.0.4
Release v3.0.3
Release v3.0.2
Release v3.0.1
Release v3.0.0
v3.0.0 (2024-04-09)
This is the official release for Expo and React Native Web support. For more details, please refer to the release notes for versions 3.0.0-beta.2 and 3.0.0-beta.1.
Enhancements
- bump ios version to 4.2.4 #228
Release v3.0.0-beta.2
v3.0.0-beta.2 (2024-03-06)
Enhancements
- Add support to use custom storage instead of @react-native-async-storage/async-storage.(#225)
When JavaScript mode is enabled, Mixpanel utilizes AsyncStorage to persist data. If you prefer not to use it, or if AsyncStorage is unavailable in your target environment, you can import or define a different storage class. However, it must follow the same interface as AsyncStorage The following example demonstrates how to use a custom storage solution:
const MyAsyncStorage = require("@my-org/<library-path>/AsyncStorage"); // or your own storage class
const trackAutomaticEvents = false;
const useNative = false;
const mixpanel = new Mixpanel('YOUR_TOKEN', trackAutomaticEvents, useNative, MyAsyncStorage);
mixpanel.init();
Fixes
- Make
optOutTracking
andoptInTracking
consistent with the native SDK.(#225)