Page MenuHomePhabricator

[native] Notify primary device on registration finish
ClosedPublic

Authored by bartek on Mar 11 2024, 6:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 7:23 AM
Unknown Object (File)
Apr 8 2024, 3:37 AM
Unknown Object (File)
Apr 7 2024, 12:39 AM
Unknown Object (File)
Apr 3 2024, 1:36 PM
Unknown Object (File)
Apr 1 2024, 10:19 PM
Unknown Object (File)
Mar 31 2024, 11:32 AM
Unknown Object (File)
Mar 24 2024, 8:57 PM
Unknown Object (File)
Mar 22 2024, 10:17 AM
Subscribers

Details

Summary

After successful registration (D11295), secondary device notifies primary device that it has performed device key upload. At this point, primary device can continue (next diffs)

Depends on D11295

Test Plan

An alert is displayed on primary device after successful device keys upload on secondary device

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Mar 12 2024, 2:20 AM
native/qr-code/qr-code-screen.react.js
59 ↗(On Diff #38015)

I would apply "De Morgan's Law" here

67 ↗(On Diff #38015)

Is this console.log left over from debuggin?

Do we have some alternatives to detect that secondary device auth succeded other than isAuthorized from Tunnelbroker? Wondering if this is the best approach

native/profile/secondary-device-qr-code-scanner.react.js
103 ↗(On Diff #38015)

I think you should use peerToPeerMessageValidator here

This revision is now accepted and ready to land.Mar 13 2024, 5:58 AM
native/qr-code/qr-code-screen.react.js
67 ↗(On Diff #38015)

Yeah, leftover, thanks