HomePhabricator
Diffusion Comm 2554810eaf0a

[native] Prevent simulators from attempting to open the barcode scanner

Description

[native] Prevent simulators from attempting to open the barcode scanner

Summary:
Launching the barcode scanner on a simulator crashes the entire app (this is because it is not a compatible platform.

We should prevent this from being accessed in the simulator.

Addresses ENG-4647

Depends on D8805

Test Plan:
Confirmed that the scanner no longer is launched when on a simulator.

Reviewers: atul, ginsu, tomek, varun

Reviewed By: ginsu

Subscribers: ashoat

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

Details

Provenance
rohanAuthored on Aug 14 2023, 8:48 AM
Reviewer
ginsu
Differential Revision
D8806: [native] Prevent simulators from attempting to open the barcode scanner
Parents
rCOMM001b397857bd: [native] Set up the BarCodeScanner to scan QR codes
Branches
Unknown
Tags
Unknown