AndroidIDEOfficial / AndroidIDE

AndroidIDE is an IDE for Android to develop full featured Android apps.
https://m.androidide.com
GNU General Public License v3.0
2.09k stars 250 forks source link

Make storage permissions optional #1783

Closed giiutfff closed 2 months ago

giiutfff commented 3 months ago

Issue Checklist

Additional terms

Feature description

Make these permissions optional: android.permission.READ_EXTERNAL_STORAGE android.permission.WRITE_EXTERNAL_STORAGE android.permission.MANAGE_EXTERNAL_STORAGE

Use Case

Provide more protection while testing, reverse engineering malicious app.

Benefits

Having access to all files might be less secure. Especially when testing some malicious code from Internet. Also Termux does not require these permissions mandatorily.

itsaky commented 2 months ago

Sorry for the late response.

These permissions are required because the projects are stored on the external storage. Even though AndroidIDE requests access to all files, it does not access any directory other than /storage/emulated/0/AndroidIDEProjects.

Having access to all files might be less secure. Especially when testing some malicious code from Internet.

Only AndroidIDE has access to the files, not the applications that are built with AndroidIDE (you'll need to grant permissions to those apps separately). The projects you build with AndroidIDE are totally your responsibility.