Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (31 loc) · 1.29 KB

GettingStarted.md

File metadata and controls

43 lines (31 loc) · 1.29 KB

Obtain an App Identifier

Please see the How to create a new app tutorial. This will provide you with a HockeyApp specific App Identifier to be used to initialize the SDK.

Add crash reporting

This will add crash reporting capabilities to your app.

Open your AppDelegate.cs file, and add the following lines:

using HockeyApp.iOS;

namespace YourNameSpace
{
	[Register("AppDelegate")]
	public partial class AppDelegate : UIApplicationDelegate
	{
		public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
		{
			var manager = BITHockeyManager.SharedHockeyManager;
			manager.Configure("Your_App_Id");
			manager.StartManager();
		}
	}
}

Control logging output

You can control the amount of log messages from HockeySDK. By default, we keep the noise as low as possible, only errors will show up. To enable additional logging, i.e. while debugging, add the following line of code:

var manager = BITHockeyManager.SharedHockeyManager;
manager.Configure("Your_App_Id");
manager.SetDebugLogEnabled = true;
manager.StartManager();

More Information

For more information, see the HockeySDK for Xamarin Source Repository