mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-06-11 02:53:23 +02:00
Added: #37
This commit is contained in:
30
Borepin/Borepin.Android/Services/VersioningService.cs
Normal file
30
Borepin/Borepin.Android/Services/VersioningService.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using Borepin.Service.Versioning;
|
||||
using Xamarin.Essentials;
|
||||
|
||||
namespace Borepin.Droid.Services
|
||||
{
|
||||
public class VersioningService : IVersioningService
|
||||
{
|
||||
#region Constructors
|
||||
public VersioningService()
|
||||
{
|
||||
VersionTracking.Track();
|
||||
}
|
||||
#endregion
|
||||
public string CurrentBuild
|
||||
{
|
||||
get
|
||||
{
|
||||
return VersionTracking.CurrentBuild;
|
||||
}
|
||||
}
|
||||
|
||||
public string CurrentVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return VersionTracking.CurrentVersion;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user