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
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
Unknown Object (File)
Oct 12 2024, 5:23 PM
Unknown Object (File)
Oct 12 2024, 5:23 PM
Unknown Object (File)
Oct 12 2024, 5:23 PM
Unknown Object (File)
Oct 12 2024, 5:23 PM
Unknown Object (File)
Oct 12 2024, 5:22 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
Branch
marcin/eng-5267
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek requested changes to this revision.Apr 24 2024, 2:09 AM
bartek added inline comments.
native/schema/CommCoreModuleSchema.js
163

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