Forum Discussion

BHS's avatar
BHS
Brass Contributor
Mar 18, 2026

Question about barCode.scanBarCode

Dear sir

I'm developing Teams mobile application, static tab(Personal app Tab).
We need a QR scan feature. However I can't use that.

barCode.isSupported() is always false.

Is there any restriction on static tab app?

 

Here are my conditions.

-. "import { app, authentication, barCode } from '@microsoft/teams-js';" . version : 2.37.0

-. manifest.json : "devicePermissions": ["media"],

-. app.initialize() is sucessfully done. I can see the barCode object

Unfortunatly, barCode.isSupported() shows false.

Android, iOS has the same result.

Can you advise how  I can use the barCode camera.?


Many thanks

 

No RepliesBe the first to reply