Page MenuHomePhabricator

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

Authored by rohan on Aug 8 2023, 11:27 AM.
Tags
None
Referenced Files
F5869360: D8764.id29634.diff
Wed, Apr 16, 8:41 PM
Unknown Object (File)
Wed, Apr 16, 10:41 AM
Unknown Object (File)
Wed, Apr 16, 10:27 AM
Unknown Object (File)
Tue, Apr 15, 9:01 AM
Unknown Object (File)
Wed, Apr 9, 2:41 PM
Unknown Object (File)
Tue, Apr 1, 6:43 PM
Unknown Object (File)
Sat, Mar 29, 6:30 PM
Unknown Object (File)
Wed, Mar 19, 11:47 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable