mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 13:13:28 +00:00
EC-833 fix WatchDeviceService registration to be called from the extensions appropiately (#2233)
This commit is contained in:
committed by
GitHub
parent
1a3ff5ec41
commit
28d204f2b1
@@ -306,11 +306,7 @@ namespace Bit.iOS
|
||||
ServiceContainer.Init(deviceActionService.DeviceUserAgent, Constants.ClearCiphersCacheKey,
|
||||
Constants.iOSAllClearCipherCacheKeys);
|
||||
iOSCoreHelpers.InitLogger();
|
||||
|
||||
ServiceContainer.Register<IWatchDeviceService>(new WatchDeviceService(ServiceContainer.Resolve<ICipherService>(),
|
||||
ServiceContainer.Resolve<IEnvironmentService>(),
|
||||
ServiceContainer.Resolve<IStateService>(),
|
||||
ServiceContainer.Resolve<IVaultTimeoutService>()));
|
||||
iOSCoreHelpers.RegisterFinallyBeforeBootstrap();
|
||||
|
||||
_pushHandler = new iOSPushNotificationHandler(
|
||||
ServiceContainer.Resolve<IPushNotificationListenerService>("pushNotificationListenerService"));
|
||||
|
||||
Reference in New Issue
Block a user