Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T22:20:59.000Z (about 1 year ago)
- Last Synced: 2024-04-26T23:23:46.143Z (8 months ago)
- Topics: android, android-bindings, mixpanel, nuget, xamarin
- Language: C#
- Homepage:
- Size: 313 KB
- Stars: 8
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Xam.Plugin.Mixpanel.Android
Xamarin.Android bindings for Mixpanel Android v7.3.2.
## 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/)[![NuGet](https://img.shields.io/nuget/vpre/Xam.Plugin.Mixpanel.Android.svg?label=NuGet)](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)
## Breaking Changes
### v5.6.5
The Xam.Plugin.Mixpanel.Android.Mpmetrcis namespace has been renamed to Xam.Plugin.Mixpanel.Android.MPMetrics.## Missing Builds
### 5.9.2 + 5.9.3
These builds are not present in this repo or on nuget as they would [crash](https://github.com/mixpanel/mixpanel-android/search?q=Lorg%2Fjacoco%2Fagent%2Frt%2Finternal_8ff85ea%2FOffline&type=issues) on launch. This was resolved in 5.9.4.## Build
### Visutal Studio for Mac
1. Run FetchJars.sh
``` sh
$ ./FetchJars.sh
```
2. Open Xam.Plugin.Mixpanel.Android.sln
3. Build and fetch your .dlls from the bin/ directory.### Building a .nupkg
1. Run BuildNugetPackage.sh
``` sh
$ ./BuildNugetPackage.sh
```
2. Fetch your Xam.Plugin.Mixpanel.Android.x.y.z.nupkg and Xam.Plugin.Mixpanel.Android.x.y.z.snupkg from the Binding 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/extract 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.## Requirements
- [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/)## TODO
* 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!