mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
Client & Version headers (#1757)
This commit is contained in:
@@ -5,6 +5,7 @@ using Bit.App.Abstractions;
|
||||
using Bit.App.Models;
|
||||
using Bit.App.Resources;
|
||||
using Bit.Core.Abstractions;
|
||||
using Bit.Core.Enums;
|
||||
using Plugin.Fingerprint;
|
||||
using Plugin.Fingerprint.Abstractions;
|
||||
using Xamarin.Essentials;
|
||||
@@ -35,8 +36,6 @@ namespace Bit.App.Services
|
||||
_broadcasterService = broadcasterService;
|
||||
}
|
||||
|
||||
public string IdentityClientId => "mobile";
|
||||
|
||||
public void Init()
|
||||
{
|
||||
_broadcasterService.Subscribe(nameof(MobilePlatformUtilsService), (message) =>
|
||||
@@ -80,6 +79,11 @@ namespace Bit.App.Services
|
||||
return DeviceInfo.Model;
|
||||
}
|
||||
|
||||
public ClientType GetClientType()
|
||||
{
|
||||
return ClientType.Mobile;
|
||||
}
|
||||
|
||||
public bool IsViewOpen()
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user