Hi,
can you open the AndroidManifest.xml file in the android-build directory your shadow build directory (you can find this path in the Projects tab in Qt Creator) and check if the correct permission and feature are set?
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
If not, you can add them manually in the manifest file in the android directory of your project directory.
Does this minimal example also not run for you?
import Felgo 3.0
import QtQuick 2.9
App {
id: app
NavigationStack {
Page {
AppButton {
anchors.centerIn: parent
text: "Display CameraPicker"
onClicked: {
nativeUtils.displayCameraPicker("test")
}
}
}
}
}
Or are you using a different component to access the camera?
Cheers,
Alex