Page MenuHomePhabricator

Introduce new JSI call to retrieve backup message for latest siwe backup
ClosedPublic

Authored by marcin on Apr 23 2024, 3:56 AM.
Tags
None
Referenced Files
F3358346: D11735.diff
Sun, Nov 24, 4:16 AM
F3357128: D11735.id39542.diff
Sat, Nov 23, 10:34 PM
Unknown Object (File)
Thu, Nov 21, 7:43 PM
Unknown Object (File)
Thu, Nov 21, 7:19 PM
Unknown Object (File)
Thu, Nov 21, 5:23 PM
Unknown Object (File)
Sun, Nov 3, 6:30 AM
Unknown Object (File)
Oct 14 2024, 6:26 PM
Unknown Object (File)
Oct 12 2024, 5:23 PM
Subscribers

Details

Summary

This differential introduces new JSI call to fetch latest backup id and associated backup message for SIWE user.

Test Plan
  1. Log in as SIWE user.
  2. In use-backu-client add call to this function after awaiting createNewBackup. Log the result.
  3. Ensure that the result logged is the same as backup message in dynamodb web viewer.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek requested changes to this revision.Apr 24 2024, 2:09 AM
bartek added inline comments.
native/schema/CommCoreModuleSchema.js
163 ↗(On Diff #39392)

The Rust retrieve_latest_siwe_backup_data() calls handle_string_result_as_callback but here you have Promise<void>

This revision now requires changes to proceed.Apr 24 2024, 2:09 AM
  1. Rename msg_backup to siwe_backup_message
  2. Fix JSI type
This revision is now accepted and ready to land.Apr 28 2024, 11:07 PM