mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 09:58:27 +03:00
Added hockeyapp to ios extension
This commit is contained in:
parent
9ee5571000
commit
89da89a9a1
3 changed files with 19 additions and 0 deletions
|
@ -25,6 +25,7 @@ namespace Bit.iOS.Extension
|
||||||
public partial class LoadingViewController : UIViewController
|
public partial class LoadingViewController : UIViewController
|
||||||
{
|
{
|
||||||
private Context _context = new Context();
|
private Context _context = new Context();
|
||||||
|
private bool _setupHockeyApp = false;
|
||||||
|
|
||||||
public LoadingViewController(IntPtr handle) : base(handle)
|
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);
|
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
||||||
_context.ExtContext = ExtensionContext;
|
_context.ExtContext = ExtensionContext;
|
||||||
|
|
||||||
|
if(!_setupHockeyApp)
|
||||||
|
{
|
||||||
|
var manager = HockeyApp.iOS.BITHockeyManager.SharedHockeyManager;
|
||||||
|
manager.Configure("51f96ae568ba45f699a18ad9f63046c3");
|
||||||
|
manager.StartManager();
|
||||||
|
manager.Authenticator.AuthenticateInstallation();
|
||||||
|
_setupHockeyApp = true;
|
||||||
|
}
|
||||||
|
|
||||||
if(!Resolver.IsSet)
|
if(!Resolver.IsSet)
|
||||||
{
|
{
|
||||||
SetIoc();
|
SetIoc();
|
||||||
|
|
|
@ -144,6 +144,14 @@
|
||||||
<HintPath>..\..\packages\Acr.Support.2.1.0\lib\Xamarin.iOS10\Acr.Support.iOS.dll</HintPath>
|
<HintPath>..\..\packages\Acr.Support.2.1.0\lib\Xamarin.iOS10\Acr.Support.iOS.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="HockeySDK, Version=1.0.6018.21546, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="HockeySDK.iOSBindings, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\..\packages\HockeySDK.Xamarin.4.1.0-beta3\lib\Xamarin.iOS10\HockeySDK.iOSBindings.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="ModernHttpClient, Version=2.4.2.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="ModernHttpClient, Version=2.4.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\modernhttpclient.2.4.2\lib\Xamarin.iOS10\ModernHttpClient.dll</HintPath>
|
<HintPath>..\..\packages\modernhttpclient.2.4.2\lib\Xamarin.iOS10\ModernHttpClient.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Acr.Support" version="2.1.0" targetFramework="xamarinios10" />
|
<package id="Acr.Support" version="2.1.0" targetFramework="xamarinios10" />
|
||||||
<package id="CommonServiceLocator" version="1.3" targetFramework="xamarinios10" />
|
<package id="CommonServiceLocator" version="1.3" targetFramework="xamarinios10" />
|
||||||
|
<package id="HockeySDK.Xamarin" version="4.1.0-beta3" targetFramework="xamarinios10" />
|
||||||
<package id="modernhttpclient" version="2.4.2" targetFramework="xamarinios10" />
|
<package id="modernhttpclient" version="2.4.2" targetFramework="xamarinios10" />
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="xamarinios10" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="xamarinios10" />
|
||||||
<package id="Plugin.Fingerprint" version="1.2.0" targetFramework="xamarinios10" />
|
<package id="Plugin.Fingerprint" version="1.2.0" targetFramework="xamarinios10" />
|
||||||
|
|
Loading…
Reference in a new issue