Microsoft Teams platform is continuously enhancing developer capabilities aligning with built-in first-party experiences. The enhanced Teams platform allows partners to integrate device capabilities, such as camera, QR or barcode scanner, photo gallery, microphone, and location with their web apps. This integration reduces the barrier to app development, speeds up development cycle, and creates new scenarios or use-cases for the developer community.
Device permissions are different in the browser. Previously, browser handled how to grant access permissions and now these permissions are handled in Teams. For more information, see browser device permissions.
Native device capabilities
- Media capabilities, such as
- QR or barcode scanner
After getting access to the device capabilities, you can integrate them with the Teams platform to enhance the collaborative experience.
Request device permissions
Integrate device capabilities
After getting access to device capabilities, use Teams media capability APIs to integrate media capabilities with the Teams platform to enhance the user experience. These integrated capabilities allow your app to:
- Capture and share images.
- Scan QR or barcode using scanner control.
- Record audio through microphone.
- Share location using location picker.
Also, you can integrate the Teams native people picker control that allows users to search and select people in the web app experience.
|Device permissions||The sample shows how to show the device permissions using Teams JS SDK and browser api's.||View||View|