v3.5.3 (2024-09-25)
- Provide more details to Assert #180
- Fix incorrect condition for determining if all tracking data was deleted #179
v3.5.2 (2024-05-12)
- Fix the compile errors in the development build #178
v3.5.1 (2024-05-02)
v3.5.0 (2024-02-29)
- Add the UseIpAddressForGeolocation option for MixpanelSettings #170, thanks @qwe321qwe321qwe321 !
- Add onFlushComplete callback #168, thanks @elic-sightful
- Use DEVELOPMENT_BUILD build flag instead of Debug.isDebugBuild #167, thanks @elic-sightful
- Fixed single quotes in readme #172, thanks @AldeRoberge
v3.4.2 (2023-11-08)
Remove the internal release script. #165
address issue #164
v3.4.2 (2023-09-20)
Remove the internal release script. #165
address issue #164
v3.4.1 (2023-09-20)
- fix RegisterOnce not really register once #162
v3.4.0 (2022-12-22)
- Allow changing settings at runtime #153
- Optimize PlayerPrefs event ID scanning when sending event batches #152
v3.3.2 (2022-09-21)
- dont use milliseconds for $duration of timed events #150
v3.3.1 (2022-08-18)
- LICENSE has no meta file #147
v3.3.0 (2022-08-04)
v3.2.0 (2022-04-30)
- Add method 'SetPreferencesSource' to Mixpanel #139
v3.1.1 (2022-04-30)
- Add Debug tracking and Dev NPS Survey #138
- Remove push notification related stuff #137
v3.1.0 (2022-04-21)
- Customize player preferences #128
- Fix compilation errors on platforms other than Android #135
v3.0.2 (2022-01-14)
- Fix the Mixpanel gameObject could potentially being destroyed when switch between scenes #125
v3.0.1 (2021-11-11)
Closed issues:
- Error with Controller.cs with earlier unity versions ( 2019.4) #120
Merged pull requests:
- backward compatibility with earlier version than 2020.1 #121
v3.0.0 (2021-10-21)
OnApplicationQuit
possible race condition with tracking #69
Closed issues:
- Expose Mixpanel.ClearSuperProperties? #118
- Mixpanel doesn't work with IL2CPP build on windows. #117
- TrackCharge doc is out of date? #116
- IL2CPP error building for Android in Unity 2020.2.2f1 #112
- v2.2.2 still referencing IDFA #111
- Mixpanel prevents opening the same Unity project open twice #110
- Standalone builds(IL2CPP) won't send Mixpanel events #108
- [Mixpanel] There was an error sending the request. System.AggregateException: One or more errors occurred. #106
- [Mixpanel] System.NotSupportedException: linked away #105
- WebGL freezing on v2.1.0 #90
- NullReferenceException on low performance devices #89
- JSON parse error on empty object #87
- End of file reached while trying to read queue item on UWP #85
Merged pull requests:
- Remove
$ios_ifa
- Fix in some rare cases, event payload being sent incorrectly formatted or with changed values
- Remove
$ios_ifa
user property for iOS devices: iOS 14 will not allow to read the IDFA value without permission.
- Improve objects re-utilization.
- You can now manually initialize the library. You first need to enable this setting
from your Project Settings menu. To use the library, call
Mixpanel.Init()
before you interact with it andMixpanel.Disable()
to dispose the component.
- Fix fatal errror in
Mixpanel.Reset()
at app boot (thanks @RedHatJef!)
- Performance improvements.
- Fix set
PushDeviceToken
for Android where an string is used.
- Remove
ClearCharges
fromOptOutTracking
to avoid having orphan profiles at mixpanel
- Add
SetToken()
method to set project token programatically
- Added support for older Unity versions if .NET 4.x equivalent is the selected scripting runtime version
- Fix value serialize/deserialize bug (#93)
- API Error: Invalid JSON Encoding for numbers (#74)
- Default people properties not been set properly
PushDeviceToken
not working (#73)- JSON encoding of special characters like
\"
or\t
, etc... - A flush operation now sends everything that happened until just right before the API is called.
- Properly migrate state from SDK 1.X to 2.X to preserve super properties and distinct ids.
- Major performance improvements
- Added de-duplication logic to prevent duplicated events to exist in your project
- Added an integration event
- Added new default event and people properties
This version is a complete rewrite of the library to support ALL platforms that unity can compile to.
The basis for this rewrite was #10 to support WebGL but since the library was rewriten in plain c# it should work for any platform unity can compile to.
The API has stayed compliant with the documentation though there maybe a few changes to a few of the mixpanel properties that come though automatically due to unity not having access to certain system/device information easily please reachout to us if there is something missing after you upgrade and we can introspect it
The github repo has also been structured so that it supports the Unity 2018.4 package manager (please see the README for package manager install instructions)
This version of the library should support backwards compatibility with Unity 2018.x but it has only been tested with the 2018 LTS release.
Bug fixes
Improvements Persist alias and protect users from identifying the user as their alias Reset distinct_id and alias when reset is called Clean ups Fixes Switching platforms could lead to MixpanelPostProcessor been executed at the wrong time Reversed the attribution of app build number and version string ($app_build_number and $app_version_string) Fix crash occurring only for Android when AdvertisingIdClient.Info.getId() was returning null.
iOS Added optional support for advertisingIdentifier Added support for Bitcode Windows Added missing dependency for x86 and x86_64 All Platforms Networking now respects the HTTP Retry-After header Networking now backs off exponentially on failure
We are thrilled to release the official Mixpanel Unity SDK. Some links to get started: