diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index 80852118d..80f1d61da 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -25,6 +25,7 @@ namespace Bit.iOS.Extension public partial class LoadingViewController : UIViewController { private Context _context = new Context(); + private bool _setupHockeyApp = false; public LoadingViewController(IntPtr handle) : base(handle) { @@ -36,6 +37,15 @@ namespace Bit.iOS.Extension View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); _context.ExtContext = ExtensionContext; + if(!_setupHockeyApp) + { + var manager = HockeyApp.iOS.BITHockeyManager.SharedHockeyManager; + manager.Configure("51f96ae568ba45f699a18ad9f63046c3"); + manager.StartManager(); + manager.Authenticator.AuthenticateInstallation(); + _setupHockeyApp = true; + } + if(!Resolver.IsSet) { SetIoc(); diff --git a/src/iOS.Extension/iOS.Extension.csproj b/src/iOS.Extension/iOS.Extension.csproj index be9cb07ba..1fb4b9382 100644 --- a/src/iOS.Extension/iOS.Extension.csproj +++ b/src/iOS.Extension/iOS.Extension.csproj @@ -144,6 +144,14 @@ ..\..\packages\Acr.Support.2.1.0\lib\Xamarin.iOS10\Acr.Support.iOS.dll True + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.dll + True + + + ..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.iOSBindings.dll + True + ..\..\packages\modernhttpclient.2.4.2\lib\Xamarin.iOS10\ModernHttpClient.dll True diff --git a/src/iOS.Extension/packages.config b/src/iOS.Extension/packages.config index 9e851f59f..0cd7f8d31 100644 --- a/src/iOS.Extension/packages.config +++ b/src/iOS.Extension/packages.config @@ -2,6 +2,7 @@ +