Xamarin.Android bindings for Mixpanel Android v8.3.0.
This repository aims to target net9.0-android and net10.0-android which are currently the latest .NET Android STS and LTS releases.
Xam.Plugin.Mixpanel.Android is available via NuGet. https://www.nuget.org/packages/Xam.Plugin.Mixpanel.Android/
Include Mixpanel
using Xam.Plugin.Mixpanel.Android;And then follow the docs provided at the Mixpanel Developer Documentation (https://developer.mixpanel.com/docs/android)
These build instructions are intended to be run on macOS. If you'd like to run them on Windows you need to open the .sh files and run equivalent commands for Windows.
- Navigate to the
Bindingdirectory - Run
FetchJars.sh - Run
BuildDlls.sh - Fetch your
Xam.Plugin.Mixpanel.Android.dllfrom theXam.Plugin.Mixpanel.Android/bin/Release/net10-android/directory.
- Navigate to the
Bindingdirectory - Run
FetchJars.sh - Run
BuildNugetPackage.sh - Fetch your
Xam.Plugin.Mixpanel.Android.x.y.z.nupkgandXam.Plugin.Mixpanel.Android.x.y.z.snupkgfrom theXam.Plugin.Mixpanel.Android/bin/Release/directory.
FetchJars.sh will download the .aar file and .javadoc.jar files from Maven and place them in the suitable folders.
To update the Mixpanel SDK change the MIXPANEL_VERSION variable within FetchJars.sh to your desired SDK version and run build steps again.
To update the entire repository search for your old version number and replace it with the new version number.
The current nuget packages are built using the following config:
- .NET SDK version 10.0.102
- Java SDK version 21.0.10
- Android SDK Version 36
Pull requests welcome!