Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Camera and Microphone permissions on Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8529

    Jan

    Hey,

    my game wants to have camera and microphone permissions on Android. I would really like to cut that communication line , as extended permissions keep people from installing the game.

    I’ve got the Chartboost and Facebook plugins installed and therefore added the following permissions to the Android Manifest:

    <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_WIFI_STATE"/>

    How can I disable Camera and Microphone permissions?

    Thanks in advance,

    drosophila

    #8530

    Alex
    Felgo Team

    Hi,

    the permissions are automatically added by Qt as long as your AndroidManifest.xml file contains the line

    <!-- %%INSERT_PERMISSIONS -->

    Removing the line should fix the issue.

    Best,

    Alex

     

    (The permissions are actually only needed if you use Qt Mobility APIs).

    #8531

    Jan

    Thanks! Works just fine. Although I have to confess, that I don’t quite get, why the absence of a “comment” in XML makes a difference to the binary 🙂

    • This reply was modified 9 years, 4 months ago by  drosophila.
Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded