Barcode Scanning Not Working When App is Scanned From a 3rd Party Phone

Hello Team,
Issue - When my app is scanned from a different phone the barcode scanning functionality doesn’t work however when my app is opened from my own phone the barcode scanning works.
Why is this happening ? Am I missing a setting