- 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 (mixpanel#74)
- Default people properties not been set properly
PushDeviceToken
not working (mixpanel#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 mixpanel#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: