Update private preferences for version tracking & secure (#158)
This commit is contained in:
Родитель
19a6ebc7f9
Коммит
dd7a120068
|
@ -2,6 +2,9 @@
|
|||
{
|
||||
public static partial class Preferences
|
||||
{
|
||||
internal static string PrivatePreferencesSharedName =>
|
||||
$"{AppInfo.PackageName}.xamarinessentials";
|
||||
|
||||
public static bool ContainsKey(string key) =>
|
||||
PlatformContainsKey(key, null);
|
||||
|
||||
|
|
|
@ -4,8 +4,7 @@ namespace Xamarin.Essentials
|
|||
{
|
||||
public static partial class SecureStorage
|
||||
{
|
||||
static string Alias =>
|
||||
$"{AppInfo.PackageName}.Xamarin.Essentials";
|
||||
internal static readonly string Alias = Preferences.PrivatePreferencesSharedName;
|
||||
|
||||
public static Task<string> GetAsync(string key)
|
||||
=> PlatformGetAsync(key);
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace Xamarin.Essentials
|
|||
const string versionsKey = "VersionTracking.Versions";
|
||||
const string buildsKey = "VersionTracking.Builds";
|
||||
|
||||
static readonly string sharedName = $"{AppInfo.PackageName}.Xamarin.Essentials";
|
||||
static readonly string sharedName = Preferences.PrivatePreferencesSharedName;
|
||||
|
||||
static Dictionary<string, List<string>> versionTrail;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче