[Interest] Android build add permission I don't need

Yasser Sobhy yasser.sobhy.net at gmail.com
Tue Dec 20 15:03:58 CET 2016


Usually if you don't use camera and audio recording functionality you can
safely remove Qt default permissions

I think your app doesn't need any permissions at all. The default Qt
permissions you may need are

<uses-permission android:name="android.permission.INTERNET" />


On Dec 20, 2016 4:54 PM, "Gian Maxera" <gmaxera at gmail.com> wrote:

Ok, I’ll try to do it.
But I always trusted on Qt permission inclusion, so actually … I don’t know
what permissions my app need.
Because it’s really a basic app, I don’t think it needs more that default
permissions.


On 20 Dec 2016, at 13:53, Yasser Sobhy <yasser.sobhy.net at gmail.com> wrote:

What Qt modules  do you use in your app?

You can uncheck include default permissions for Qt modules and add any
permissions you need manually.

On Dec 20, 2016 4:48 PM, "Gian Maxera" <gmaxera at gmail.com> wrote:

> I’m a bit worried to do that,
> because I may miss something that’s relevant for my app.
>
> On 20 Dec 2016, at 13:47, Yasser Sobhy <yasser.sobhy.net at gmail.com> wrote:
>
> Hi Gian
>
> In Qt Creator open your app's AndroidManifest.xml and uncheck "include
> default permissions for Qt modules.
>
> On Dec 20, 2016 4:41 PM, "Gian Maxera" <gmaxera at gmail.com> wrote:
>
> Hello,
> I’ve recently updated an app using Qt 5.7.0 and when I submitted this
> update to Google Play I had this warning:
>
> "Your app has an APK with version code 28 that requests the following
> permission(s): android.permission.CAMERA,android.permission.RECORD_AUDIO.
> Apps using these permissions in an APK are required to have a privacy
> policy set.”
>
> I don’t use CAMERA and I don’t use RECORD_AUDIO into the app. So, I don’t
> know why Qt inject these permission.
> I’m using a WebView for mobile.
>
> How can I remove these ?
>
> Thanks,
> Gianluca.
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161220/68beffef/attachment.html>


More information about the Interest mailing list