Page MenuHomePhabricator

[native] remove `useQRAuth` hook
ClosedPublic

Authored by kamil on Jun 17 2024, 4:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 31, 1:04 PM
Unknown Object (File)
Wed, Dec 18, 5:16 AM
Unknown Object (File)
Wed, Dec 18, 5:16 AM
Unknown Object (File)
Wed, Dec 18, 5:16 AM
Unknown Object (File)
Wed, Dec 18, 5:16 AM
Unknown Object (File)
Wed, Dec 18, 5:16 AM
Unknown Object (File)
Sun, Dec 8, 2:16 AM
Unknown Object (File)
Nov 28 2024, 5:32 PM
Subscribers

Details

Summary

ENG-8385.

QR code login is not working right now. As described here (Point 3) and here the issue is occuring because of the fact that useQRAuth is unmounting before it can send SECONDARY_DEVICE_REGISTRATION_SUCCESS. This stack is refactoring the code to move logic to context (see here).

Moving this code to a context - reduces some complexity.

Depends on D12452

Test Plan

Test QR login flow on native and web. Adding a bunch of logs to make sure it works and all messages are sent.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable