I have wrote binding library for mac osx, (using HockeySDK.framework). Here is how my ApiDefinition.cs is looks like :
[BaseType (typeof (NSObject))]
interface BITHockeyManager
{
[Static, Export ("sharedHockeyManager")]
BITHockeyManager SharedHockeyManager { get; }
[Export ("crashManager")]
BITCrashManager CrashManager { get; }
[Export ("configureWithIdentifier:")]
void ConfigureWithIdentifier (NSString appIdentifier);
[Export ("startManager")]
void StartManager ();
}
[BaseType (typeof (NSObject))]
interface BITCrashManager
{
[Export ("setAutoSubmitCrashReport:")]
void SetAutoSubmitCrashReport (bool flag);
}
Also here is the calling part (AppDelegate.cs) :
public override void DidFinishLaunching (NSNotification notification)
{
HockeyAppLib.BITHockeyManager manager = HockeyAppLib.BITHockeyManager.SharedHockeyManager;
manager.ConfigureWithIdentifier (new NSString (AppIdentifier));
manager.CrashManager.SetAutoSubmitCrashReport (true);
manager.StartManager ();
}
Is seems , that everything is o, but I can't get crash reports in the server. Any idea?