HomePhabricator
Diffusion Comm bd924bf527b6

[web] Check backup version when restoring

Description

[web] Check backup version when restoring

Summary:
If a backup is from newer version that the client, we can't restore it and the client needs to be updated in order to restore the backup.

version2.png (1×1 px, 124 KB)

https://linear.app/comm/issue/ENG-7008/detect-that-the-compaction-is-from-a-newer-version-than-the-app-and

Depends on D12013

Test Plan: Created a backup on native and tried to restore it on web, where the native version was greater that the web version. Verified that an exception was thrown during the restoration.

Reviewers: kamil, marcin, inka

Reviewed By: kamil, inka

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D11947

Details

Provenance
tomekAuthored on May 8 2024, 9:54 AM
Reviewer
kamil
Differential Revision
D11947: [web] Check backup version when restoring
Parents
rCOMM6a5b8410c86c: [native] Verify if the backup version is correct
Branches
Unknown
Tags
Unknown