Mobile Resource like a Camera

Dear Friends,
Great Day!

We are wondering about using a Camera to scan a BarCode via Mobile or Tablet and collect data.

Our plan is to use React Native in order to collect data using mobile.

Please if anyone provides us instructions/experiment on how we can install Add-on or use a library to be able to use Local Camera.

Many Thanks,