1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Added hockeyapp configuration for ios

This commit is contained in:
Kyle Spearrin
2016-07-22 00:04:05 -04:00
parent c206d228fc
commit 9ee5571000
8 changed files with 538 additions and 32 deletions

View File

@@ -25,6 +25,7 @@ using Plugin.DeviceInfo;
using Plugin.Connectivity.Abstractions;
using Bit.App.Pages;
using PushNotification.Plugin.Abstractions;
using HockeyApp.iOS;
namespace Bit.iOS
{
@@ -37,6 +38,11 @@ namespace Bit.iOS
{
global::Xamarin.Forms.Forms.Init();
var manager = BITHockeyManager.SharedHockeyManager;
manager.Configure("51f96ae568ba45f699a18ad9f63046c3");
manager.StartManager();
manager.Authenticator.AuthenticateInstallation();
if(!Resolver.IsSet)
{
SetIoc();
@@ -116,7 +122,7 @@ namespace Bit.iOS
// Log the date/time we last backgrounded
Settings.AddOrUpdateValue(Constants.SettingLastBackgroundedDate, DateTime.UtcNow);
Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow);
base.DidEnterBackground(uiApplication);
Debug.WriteLine("DidEnterBackground");