mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 14:53:18 +00:00
Added implementation of BITCrashManagerDelegate for additional contextual information in crash reports. Include AppId.
This commit is contained in:
@@ -37,8 +37,14 @@ namespace Bit.iOS.Extension
|
||||
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
||||
_context.ExtContext = ExtensionContext;
|
||||
|
||||
if(!Resolver.IsSet)
|
||||
{
|
||||
SetIoc();
|
||||
}
|
||||
|
||||
if(!_setupHockeyApp)
|
||||
{
|
||||
var crashManagerDelegate = new HockeyAppCrashManagerDelegate(Resolver.Resolve<IAppIdService>());
|
||||
var manager = HockeyApp.iOS.BITHockeyManager.SharedHockeyManager;
|
||||
manager.Configure("51f96ae568ba45f699a18ad9f63046c3");
|
||||
manager.StartManager();
|
||||
@@ -46,11 +52,6 @@ namespace Bit.iOS.Extension
|
||||
_setupHockeyApp = true;
|
||||
}
|
||||
|
||||
if(!Resolver.IsSet)
|
||||
{
|
||||
SetIoc();
|
||||
}
|
||||
|
||||
foreach(var item in ExtensionContext.InputItems)
|
||||
{
|
||||
var processed = false;
|
||||
|
||||
Reference in New Issue
Block a user