Installation
Xamarin plugin is currently supported on iOS, Android and Xamarin.Forms platforms. The recommended way to install Bugsee is using NuGet.
NuGet installation
Note: We've found NuGet package installation issues in some versions of Visual Studio where some of the DLLs are not referenced correctly. If you are facing similar issue, try updating Visual Studio to the latest version.
Open your solution, select the project you want to add Bugsee package to and open its context menu. Unfold "Add" and click "Add NuGet packages...".
Type "Bugsee" into search field, select Bugsee package and click "Add Package" button at the bottom right.
Initialization
When possible, Bugsee provides unified API across platforms for accessing Bugsee features. Initialization, on the other hand, has minor differences on iOS and Android platforms.
!iOS
// Your AppDelegate.cs file
using BugseePlugin;
namespace YourNameSpace
{
[Register("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
Bugsee.Launch("<your token>");
}
}
}
!Android
// Your Application.cs file - a subclassed Application
using BugseePlugin;
namespace YourNameSpace
{
[Application]
public class MyApplication : Application
{
public MyApplication(IntPtr handle, JniHandleOwnership ownerShip) : base(handle, ownerShip) {}
public override void OnCreate ()
{
base.OnCreate();
Bugsee.Launch("<your token>");
}
}
}