INTERNET permissions in Android M

Regarding Googleโ€™s recent announcement of the Android M model and Permissions.

In the official Android documentation :

Limited permissions granted during installation: when a user installs or updates an application, the system provides the application with all the permissions that applications that fall under PROTECTION_NORMAL. For example, freight forwarding in Lviv for watch and Internet permissions fall under PROTECTION_NORMAL, so they are automatically provided during installation. The system can also provide application signatures and system permissions, as described in system applications and signature permissions. The user is not prompted to grant any permissions during installation.

Of particular note is that he says:

... the system gives the application all the permissions that the application requests.

So, if the application does not have INTERNET permission in its AndroidManifest.xml, in which case it will not be granted access to INTERNET?

Or should an application add INTERNET permission to its manifest in order to be able to make network calls?

+7
android android-6.0-marshmallow permissions
source share
2 answers

Regarding the specific permission of android.permission.INTERNET, it is still mandatory for applications that will have access to the Internet. If the developer must publish the application without defining it in the Android manifest, an exception will be thrown the first time you try to connect, and the application may crash. This is no different from the previous one.

All that has changed is that the user will not be invited, the application will still require permission in the manifest.

+3
source share

Please check this video from Google IO - https://youtu.be/f17qe9vZ8RM?t=18m10s There is no longer permission to access the Internet - the application will have access to the Internet by default. Their idea is that if you do not have access to the device data, you can not do anything dangerous

Yours faithfully

+1
source share

All Articles