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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user