mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 03:53:15 +00:00
About and credit page implementation. Adjusted block screen and launch screen logo margins up some. Added decryption message to extension loading.
This commit is contained in:
14
src/Android/Services/AppInfoService.cs
Normal file
14
src/Android/Services/AppInfoService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Bit.App.Abstractions;
|
||||
using AndrodApp = Android.App.Application;
|
||||
|
||||
namespace Bit.Android.Services
|
||||
{
|
||||
public class AppInfoService : IAppInfoService
|
||||
{
|
||||
public string Version => AndrodApp.Context.ApplicationContext.PackageManager
|
||||
.GetPackageInfo(AndrodApp.Context.PackageName, 0).VersionName;
|
||||
|
||||
public string Build => AndrodApp.Context.ApplicationContext.PackageManager
|
||||
.GetPackageInfo(AndrodApp.Context.PackageName, 0).VersionCode.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user