R
R
Roman2019-07-31 09:22:50
Android
Roman, 2019-07-31 09:22:50

My Cordova android app is asking the user for "unlimited internet access" - how do I fix this?

I made an application on Vue + Cordova.
It during installation wants access to the Internet. But in fact, she doesn't need it.
I did not change any settings - I just threw the files into the www folder and cordova run android:)
How to remove it?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2019-07-31
@procode

https://software.intel.com/en-us/forums/html5-appl...
Quote:
android.permission.INTERNET is hard-coded in the template which is used as the basis for adding Android platform support to a cordova project: https://github.com/apache/cordova-android/blob/mas...
It simply allows the app to open network sockets.
Removing this permission is not supported by Cordova CLI.
From app users perspective it is not required to have internet connection to use the app with this permission set.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question