mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
migrate push reg date
This commit is contained in:
parent
11ec9b320e
commit
0918e1d963
2 changed files with 6 additions and 2 deletions
|
@ -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 a new issue