Page MenuHomePhabricator

[native] implement QR Auth context
Needs ReviewPublic

Authored by kamil on Wed, Dec 11, 7:37 AM.

Details

Reviewers
ashoat
tomek
Summary

ENG-9959.

We need to wrap this logic in context so this will be available on all the screens in the flow.

This diff only introduces the context, not changing the logic - just moving it to the context.

In ENG-9968 there is an example of how this looks like

Depends on D14101

Test Plan

Test adding secondary device - should work exactly the same.

Diff Detail

Repository
rCOMM Comm
Branch
qr-work
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil added inline comments.
native/account/qr-auth/qr-auth-context.js
5–7

It will have more props later in the stack

kamil published this revision for review.Wed, Dec 11, 8:28 AM
kamil edited the summary of this revision. (Show Details)
native/account/qr-auth/qr-auth-context-provider.js
55

It's hard to review this one because you're removing a bunch of stuff (such as the permissions check), and I can't tell where (or whether) it's reintroduced