Details
Details
- Bump store version
- Upload backup
- Revert the store version to a lower
- Build app & try to restore, alert should be visible (for now).
- Update the app - it gets restored automatically, and data is visible.
- Restore
- Kill the app in the middle
- Open app, restore is resumed
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
As we discussed offline, this should work okay.
There was a risk that the handler could be triggered when restoration had started from outside the handler, when user_data_restore_step_completed was set for a short while. However, if that happened, invariants in the restoration reducer should have been triggered, but such a thing didn't happen when testing this.
| lib/backup/use-user-data-restore.js | ||
|---|---|---|
| 130 ↗ | (On Diff #48753) | typo |