lipka / mixpanel-ios-xamarin

Mixpanel SDK for Xamarin iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mixpanel-ios-xamarin

Xamarin MonoTouch bindings to the Mixpanel SDK (v2.5.2).

Includes support for Mixpanel A/B testing.

Usage

using MonoTouch.Mixpanel;

...

Mixpanel.SharedInstanceWithToken ("<your-secret-token>");
Mixpanel.SharedInstance.Identify ("thisuser@gmail.com");
Mixpanel.SharedInstance.People.Set ("some.property", new NSNumber (true));

Check out more integration samples in the Mixpanel SDK documentation.

Build

$ git submodule init
$ git submodule update
$ make

Requires xcodebuild and xbuild to compile.

Installation

  • Add bindings/MonoTouch.Mixpanel.dll to your project.
  • Add contents of the resources/ subdirectory your main bundle (unfortunately it's not possible to have them in the binding)

Requirements

MonoTouch.Mixpanel is tested on iOS7.

TODO

  • Have the resources directly in the binding DLL

Pull requests welcome!

Contact

Lukas Lipka

License

MonoTouch.Mixpanel is available under the MIT license. See the LICENSE file for more info.

About

Mixpanel SDK for Xamarin iOS

License:MIT License


Languages

Language:Objective-C 65.5%Language:HTML 33.3%Language:C# 0.6%Language:Python 0.2%Language:Makefile 0.2%Language:Ruby 0.1%Language:Shell 0.1%Language:Smalltalk 0.0%