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)
Sat, Nov 9, 7:49 AM
Unknown Object (File)
Sat, Oct 19, 12:17 PM
Unknown Object (File)
Sat, Oct 19, 12:17 PM
Unknown Object (File)
Sat, Oct 19, 12:16 PM
Unknown Object (File)
Sat, Oct 19, 12:14 PM
Unknown Object (File)
Oct 3 2024, 6:56 AM
Unknown Object (File)
Oct 1 2024, 6:21 AM
Unknown Object (File)
Sep 30 2024, 12:28 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