translate this page

20170110

Removing auto-generated AndroidManifest permissions In Unity

I found this useful document as to removing automatically generated AndroidManifest permissions in Unity.

(...) Unity automatically adds certain permissions to the manifest. The logic is defined in the file PlatformDependent/AndroidPlayer/Editor/Managed/PostProcessor/Tasks/GenerateManifest.cs :: SetPermissionAttributes. For example, if your script code references Application.internetReachability, Unity automatically adds android.permission.ACCESS_NETWORK_STATE to the manifest. You can edit GenerateManifest.cs to remove it. (...)

The documentation page link : https://docs.unity3d.com/Manual/android-BuildProcess.html

No comments :

Post a Comment

Popular Posts