mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 11:43:49 +00:00
Added implementation of BITCrashManagerDelegate for additional contextual information in crash reports. Include AppId.
This commit is contained in:
20
src/iOS.Core/HockeyAppCrashManagerDelegate.cs
Normal file
20
src/iOS.Core/HockeyAppCrashManagerDelegate.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Bit.App.Abstractions;
|
||||
using HockeyApp.iOS;
|
||||
namespace Bit.iOS.Core
|
||||
{
|
||||
public class HockeyAppCrashManagerDelegate : BITCrashManagerDelegate
|
||||
{
|
||||
private readonly IAppIdService _appIdService;
|
||||
|
||||
public HockeyAppCrashManagerDelegate(
|
||||
IAppIdService appIdService)
|
||||
{
|
||||
_appIdService = appIdService;
|
||||
}
|
||||
|
||||
public override string ApplicationLogForCrashManager(BITCrashManager crashManager)
|
||||
{
|
||||
return $"AppId:{_appIdService.AppId}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user