mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 23:03:23 +00:00
Conversion of HockeyApp to AppCenter for crash reporting (#810)
* Conversion of HockeyApp to AppCenter for crash reporting * Corrected older-style nuget package definition
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Bit.iOS.Extension
|
||||
public partial class LoadingViewController : ExtendedUIViewController
|
||||
{
|
||||
private Context _context = new Context();
|
||||
private bool _initedHockeyApp;
|
||||
private bool _initedAppCenter;
|
||||
|
||||
public LoadingViewController(IntPtr handle)
|
||||
: base(handle)
|
||||
@@ -389,10 +389,10 @@ namespace Bit.iOS.Extension
|
||||
iOSCoreHelpers.RegisterLocalServices();
|
||||
var deviceActionService = ServiceContainer.Resolve<IDeviceActionService>("deviceActionService");
|
||||
ServiceContainer.Init(deviceActionService.DeviceUserAgent);
|
||||
if (!_initedHockeyApp)
|
||||
if (!_initedAppCenter)
|
||||
{
|
||||
iOSCoreHelpers.RegisterHockeyApp();
|
||||
_initedHockeyApp = true;
|
||||
iOSCoreHelpers.RegisterAppCenter();
|
||||
_initedAppCenter = true;
|
||||
}
|
||||
iOSCoreHelpers.Bootstrap();
|
||||
iOSCoreHelpers.AppearanceAdjustments(deviceActionService);
|
||||
|
||||
Reference in New Issue
Block a user