Page MenuHomePhabricator

Enable sending auth metadata event from Rust
ClosedPublic

Authored by marcin on Dec 14 2023, 5:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 18, 1:51 AM
Unknown Object (File)
Fri, Oct 18, 1:51 AM
Unknown Object (File)
Fri, Oct 18, 1:51 AM
Unknown Object (File)
Fri, Oct 18, 1:51 AM
Unknown Object (File)
Fri, Oct 18, 1:51 AM
Unknown Object (File)
Fri, Oct 18, 1:50 AM
Unknown Object (File)
Fri, Oct 11, 3:36 PM
Unknown Object (File)
Sep 26 2024, 9:39 AM
Subscribers

Details

Summary

This differential enables Rust code to send auth metadata event to JS.

Test Plan
  1. Apply this diff from @kamil: https://phab.comm.dev/D10327
  2. Put a call to send_auth_metadata_to_js in one of Rust functions used in the diff linked above. Unfortunately you have to pass dummy hardcoded strings instead of real data from identity service sue to the issue: https://linear.app/comm/issue/ENG-6067/grpc-on-native-physical-device-not-working
  3. Subscribe in JS to auth metadata event (as in previous diffs)
  4. Launch the app. Ensure that dummy metadata is logged.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-6036
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Dec 14 2023, 10:28 PM
  1. Refactor to remove deviceID emission.
  2. Rebase before landing.