Nominate our 2022 Qt Champions!

Qt requires ACCESS_NETWORK_STATE in simple Android app

  • I am building apps for Android. I found strange behaviour - after exit from QApplication::exec(), just before Android application finishes - it tries check Internet connection. It happens each time. I get the error cause I do not use Internet in application and I do not request networking permissions. It can be solved by adding request of ACCESS_NETWORK_STATE permission (just permission for INTERNET not needed). But I have to describe it's purpose in "confidential policy" for Google Play. Can anybody tell me - why Qt application requires this permission and how can I turn this off?

  • Lifetime Qt Champion


    That's a question you should rather bring to the Qt Android port mailing list. You'll find there Qt's Android port developers/maintainers. This forum is more user oriented.

Log in to reply