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
Unknown Object (File)
Fri, May 10, 3:25 AM
Unknown Object (File)
Mon, May 6, 5:46 PM
Unknown Object (File)
Mon, May 6, 5:46 PM
Unknown Object (File)
Sun, May 5, 3:01 AM
Unknown Object (File)
Wed, May 1, 6:55 PM
Unknown Object (File)
Wed, Apr 24, 7:06 PM
Unknown Object (File)
Wed, Apr 24, 7:05 PM
Unknown Object (File)
Wed, Apr 24, 7:02 PM
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