Xamarin.iOS bindings for Mixpanel iOS v5.0.9.
This repository aims to target net9.0-ios and net10.0-ios which are currently the latest .NET iOS STS and LTS releases.
Xam.Plugin.Mixpanel.iOS is available via NuGet. https://www.nuget.org/packages/Xam.Plugin.Mixpanel.iOS/
Include Mixpanel
using Xam.Plugin.Mixpanel.iOS;And then follow the docs provided at the Mixpanel Developer Documentation (https://developer.mixpanel.com/docs/ios)
These build instructions are intended to be run on macOS.
- Navigate to the
Bindingdirectory - Run
FetchFramework.sh - Run
BuildDlls.sh - Fetch your
Xam.Plugin.Mixpanel.iOS.dllfrom theXam.Plugin.Mixpanel.iOS/bin/Release/net10-ios/directory.
- Navigate to the
Bindingdirectory - Run
FetchFramework.sh - Run
BuildNugetPackage.sh - Fetch your
Xam.Plugin.Mixpanel.iOS.x.y.z.nupkgandXam.Plugin.Mixpanel.iOS.x.y.z.snupkgfrom the `Xam.Plugin.Mixpanel.iOS/bin/Release/`` directory.
To update the Mixpanel SDK change the version within Binding/Cartfile to your desired SDK version and run the FetchFramework.sh script. This desired version is generally then latest version from mixpanel/mixpanel-iphone releases.
If there are API changes you will want to also run SharpieBind.sh and examine code output in the newly generated NewBinding_ApiDefinition.cs and NewBinding_StructsAndEnums.cs files. Desired API changes should be then modified in the ApiDefinition.cs and StructsAndEnums.cs files.
NOTE: The NewBinding_ files are not build ready and need to be modified manually.
- Verify the
Verifystatements work as expected. - Figure out how to handle
MixpanelTypeCategorycorrectly.
Pull requests welcome!