1
0
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:
Oscar Hinton
2022-02-08 17:43:40 +01:00
committed by GitHub
parent 10fafaf8c8
commit 427ff09af0
5 changed files with 48 additions and 6 deletions

View File

@@ -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;