Hi Marcin,
Thanks for your detailed response. I’ve taken a look at the Permissions in the AndroidManifest.xml and the check boxes to include default features and permissions are indeed checked.
The Qt documentation states:
Note: Qt adds the default permissions and features based on the module dependencies of your application. If you do not want these default permissions and features, remove the <!-- %%INSERT_PERMISSIONS --> and <!-- %%INSERT_FEATURES --> comments from AndroidManifest.xml. For information on the manifest XML format, see Android: App Manifest.
The AndroidManifest.xml created from my release project has the following:
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
Remove the comment if you do not require these default features. -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
My guess is that in my project file I’ve included QT += multimedia. This module is likely pulling in the camera and possibly photo albums features/permissions. There shouldn’t be any harm done by manually adding in the permissions for just microphone access as I don’t use cameras in my app.
That leaves the location feature/permission. I’m wondering if Soomla might be pulling in these permission dependencies?
If anyone has any further thoughts, I’d be eager to hear them.