Skip to main content

Declaring camera permissions with .NET MAUI

The Scanbot SDK needs access to the device camera so it can scan from a live camera stream. Therefore, you need to define the camera permission.

Make sure to add the Camera permission in your AndroidManifest.xml file:

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />

The uses-feature tag also improves recognition of your app on the Google Play Store (see more).

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license