https://github.com/beeradmoore/xam.plugin.mixpanel.android
Xamarin.Android bindings for Mixpanel
https://github.com/beeradmoore/xam.plugin.mixpanel.android
android android-bindings mixpanel nuget xamarin
Last synced: 2 months ago
JSON representation
Xamarin.Android bindings for Mixpanel
- Host: GitHub
- URL: https://github.com/beeradmoore/xam.plugin.mixpanel.android
- Owner: beeradmoore
- License: apache-2.0
- Created: 2019-03-23T04:58:57.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2026-04-08T21:34:59.000Z (2 months ago)
- Last Synced: 2026-04-08T23:26:28.441Z (2 months ago)
- Topics: android, android-bindings, mixpanel, nuget, xamarin
- Language: Shell
- Homepage:
- Size: 362 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Xam.Plugin.Mixpanel.Android
Xamarin.Android bindings for Mixpanel Android v8.5.1.
This repository aims to target `net9.0-android` and `net10.0-android` which are currently the latest .NET Android STS and LTS releases.
## Installation
Xam.Plugin.Mixpanel.Android is available via NuGet.
[https://www.nuget.org/packages/Xam.Plugin.Mixpanel.Android/](https://www.nuget.org/packages/Xam.Plugin.Mixpanel.Android/)
[](https://www.nuget.org/packages/Xam.Plugin.Mixpanel.Android)
## Usage
Include Mixpanel
``` c#
using Xam.Plugin.Mixpanel.Android;
```
And then follow the docs provided at the Mixpanel Developer Documentation (https://developer.mixpanel.com/docs/android)
## Build
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.
### Local dll builds
1. Navigate to the `Binding` directory
2. Run `FetchJars.sh`
3. Run `BuildDlls.sh`
4. Fetch your `Xam.Plugin.Mixpanel.Android.dll` from the `Xam.Plugin.Mixpanel.Android/bin/Release/net10-android/` directory.
### Building a .nupkg
1. Navigate to the `Binding` directory
2. Run `FetchJars.sh`
3. Run `BuildNugetPackage.sh`
4. Fetch your `Xam.Plugin.Mixpanel.Android.x.y.z.nupkg` and `Xam.Plugin.Mixpanel.Android.x.y.z.snupkg` from the `Xam.Plugin.Mixpanel.Android/bin/Release/` directory.
### Adding JavaDocs
`FetchJars.sh` will download the `.aar` file and `.javadoc.jar` files from [Maven](https://search.maven.org/search?q=a:mixpanel-android) and place them in the suitable folders.
## Updating Mixpanel SDK
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.
## Requirements
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!