Page MenuHomePhabricator

[native] Expose backup ct1 and ct2 functions to JS
ClosedPublic

Authored by bartek on Mar 18 2024, 3:59 AM.
Tags
None
Referenced Files
F3396096: D11345.id38116.diff
Sun, Dec 1, 10:20 AM
Unknown Object (File)
Fri, Nov 29, 4:53 AM
Unknown Object (File)
Fri, Nov 29, 4:37 AM
Unknown Object (File)
Fri, Nov 29, 2:44 AM
Unknown Object (File)
Sun, Nov 10, 2:03 PM
Unknown Object (File)
Oct 27 2024, 8:20 AM
Unknown Object (File)
Oct 18 2024, 9:44 PM
Unknown Object (File)
Oct 18 2024, 9:44 PM
Subscribers

Details

Summary

In addition to restoreBackup(), exposed functions that separately get backup keys and data via JSI. They're needed for secondary device auth

Depends on D11344

Test Plan

Modified backupRestoreProtocol in useClientBackup to call retrieveBackupKeys and then restoreBackupData, instead of single restoreBackup() call.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage