Implemented on GIT Remove 4 permissions from Android app manifest by default

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,135
By @grant on GH issues:

Unless the developer goes in and modifies Cerberus-X's source code for Android it always includes 4 permissions. In my opinion they are important ones too. If the developer needs to add permissions to the game they are making, they can use ${ANDROID_MANIFEST_MAIN}

https://github.com/cerberusxdev/cer...etemplate/app/src/main/AndroidManifest.xml#L7

android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE

Read / write external storage should never be used by games ever. If they have a save file backup system (and they always really should...), it'd be better to use the Storage Access Framework (Android 4.4+) or the system clipboard. Apps that require the internet permission but don't use it really chaps my hide too.

What do you think? May I do a PR for this?
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,135
As nobody mentioned any problems, I moved it to the develop branch.
 
Top Bottom