HomePhabricator
Diffusion Comm bd1993a66eb9

[native] Add a 'linked devices' section on the app for primary devices

Description

[native] Add a 'linked devices' section on the app for primary devices

Summary:
Per the designs, we want to add a 'Linked devices' section in the profile screen. It will remain empty while the device list is in progress, but it will be the intermediate screen in accessing the barcode scanner so it's necessary to add for now. I've rendered it only if it's in development mode though so it won't be released to the public.

Designs:

Screenshot 2023-08-08 at 2.28.36 PM.png (1×616 px, 242 KB)

One thing to note is that LinkedDevices needs to accept props, otherwise we get this error in profile.react.js:

Cannot create `Profile.Screen` element because property `navigation` is missing in  function type [1] but exists in  props [2] in property `component`.Flow(prop-missing)

ENG-4476

Depends on D8763

Test Plan:
Confirmed that the Linked devices section appears for me in dev mode

Reviewers: atul, ginsu, tomek, varun

Reviewed By: ginsu

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8764

Details

Provenance
rohanAuthored on Aug 8 2023, 11:24 AM
Reviewer
ginsu
Differential Revision
D8764: [native] Add a 'linked devices' section on the app for primary devices
Parents
rCOMM004ebff40808: [web] Add qrcode.react dependency
Branches
Unknown
Tags
Unknown