Page MenuHomePhabricator

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

Authored by marcin on Tue, Apr 23, 3:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 7:28 AM
Unknown Object (File)
Thu, May 2, 2:31 AM
Unknown Object (File)
Mon, Apr 29, 2:28 PM
Unknown Object (File)
Sat, Apr 27, 1:36 PM
Unknown Object (File)
Thu, Apr 25, 6:40 PM
Unknown Object (File)
Tue, Apr 23, 9:18 PM
Unknown Object (File)
Tue, Apr 23, 9:18 PM
Unknown Object (File)
Tue, Apr 23, 9:17 PM
Subscribers

Details

Reviewers
kamil
bartek
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.Wed, Apr 24, 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.Wed, Apr 24, 2:09 AM
  1. Rename msg_backup to siwe_backup_message
  2. Fix JSI type
This revision is now accepted and ready to land.Sun, Apr 28, 11:07 PM