[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