Forums

OverviewV-Play 2 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
    V-Play 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 3 years, 11 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support