App Requiring Multiple External_Storage Permissions?
For some reason my app requires Access to folders and pictures three times. How can I deactivate this? Every time I delete the EXTERNAL_STORAGE permission it gets itself rewritten again when building. Thanks in advance!
Answer by upariver · Nov 17, 2016 at 10:19 AM
Ok This is what I have done. It worked for me. In File - Build Settings - Player Settings- Other Settings. Write Access - Internal Only. Install Location automatic. Lastly, on your Plugins Folder inside the editor, go to android, and open the Android Manifest in VS. ATTENTION: I tried to open this in Notepad++, edited, saved it, and when building, it is rewritten unless it is open inside Unity Editor.
Lastly after the tag, add this: (Notice I removed the EXTERNAL_STORAGE). Then build and voilá! Hope this helped someone else as much as it did me.
<uses-sdk android:minSdkVersion="19" android:maxSdkVersion="1" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />