diff --git a/src/App/Migration/MigrationHelpers.cs b/src/App/Migration/MigrationHelpers.cs index 87e051e52..769793c97 100644 --- a/src/App/Migration/MigrationHelpers.cs +++ b/src/App/Migration/MigrationHelpers.cs @@ -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)); diff --git a/src/App/Services/MobileStorageService.cs b/src/App/Services/MobileStorageService.cs index f24a80075..fe5e100fb 100644 --- a/src/App/Services/MobileStorageService.cs +++ b/src/App/Services/MobileStorageService.cs @@ -23,6 +23,9 @@ namespace Bit.App.Services Constants.LastActiveKey, Constants.PushInitialPromptShownKey, Constants.LastFileCacheClearKey, + Constants.PushLastRegistrationDateKey, + Constants.PushRegisteredTokenKey, + Constants.PushCurrentTokenKey, Constants.LastBuildKey };