mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-28 17:18:23 +01:00
migrate push reg date
This commit is contained in:
parent
11ec9b320e
commit
0918e1d963
@ -111,8 +111,9 @@ namespace Bit.App.Migration
|
||||
await storageService.SaveAsync(Constants.PushRegisteredTokenKey,
|
||||
settingsShim.GetValueOrDefault("push:registeredToken", null));
|
||||
Log("Migrating 6.9");
|
||||
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey,
|
||||
settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue));
|
||||
var lastReg = settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue);
|
||||
Log("Migrating 6.9.1 " + lastReg);
|
||||
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey, lastReg);
|
||||
Log("Migrating 6.10");
|
||||
await storageService.SaveAsync("rememberedEmail",
|
||||
settingsShim.GetValueOrDefault("other:lastLoginEmail", null));
|
||||
|
@ -23,6 +23,9 @@ namespace Bit.App.Services
|
||||
Constants.LastActiveKey,
|
||||
Constants.PushInitialPromptShownKey,
|
||||
Constants.LastFileCacheClearKey,
|
||||
Constants.PushLastRegistrationDateKey,
|
||||
Constants.PushRegisteredTokenKey,
|
||||
Constants.PushCurrentTokenKey,
|
||||
Constants.LastBuildKey
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user