Xamarin.Android bindings for Mixpanel Android v7.3.2.
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)
The Xam.Plugin.Mixpanel.Android.Mpmetrcis namespace has been renamed to Xam.Plugin.Mixpanel.Android.MPMetrics.
These builds are not present in this repo or on nuget as they would crash on launch. This was resolved in 5.9.4.
- Run FetchJars.sh
$ ./FetchJars.sh
- Open Xam.Plugin.Mixpanel.Android.sln
- Build and fetch your .dlls from the bin/ directory.
- Run BuildNugetPackage.sh
$ ./BuildNugetPackage.sh
- Fetch your Xam.Plugin.Mixpanel.Android.x.y.z.nupkg and Xam.Plugin.Mixpanel.Android.x.y.z.snupkg from the Binding directory.
FetchJars.sh will download the .aar file and .javadoc.jar files from Maven and place/extract 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.
- Try figure out how to reduce the number of warnings.
- Figure out why the class MixpanelFCMMessagingService is missing.
- Figure out how to get JavaDocs to work correctly. Should we include the relevant jars (already downloading with FetchJars.sh) with JavaDocJar and JavaSourceJar in the csproj. Should we continue using the JavaDocs folder like we currently do.
Pull requests welcome!