How do I get rid of these 2 android permissions?
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Expanding of question, how do I overwrite over AndroidManifest.xml?
How do I get rid of these 2 android permissions?
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Expanding of question, how do I overwrite over AndroidManifest.xml?
You can find manifest in Intermediate\Build of oyu project, but keep in mind i can be ovewrriten any time. Also UE4 may need those permissions to properly operate, UE4 may crash if you do that
Instead of you editing the XML file, Unreal is designed to do that FOR you, via the Project Settings. You can find the extra android permissions settings in there.
Like said, your changes will just get overwritten because Unreal writes the XML file based on your project settings etc.
Problem is unreal prepares it for me but, I’m not talking extra permission here. I want to change default permission.
Also note that if you are using tha save/load functionality, it will request READ and WRITE permission if this setting is not checked (Under Project settings → Android → APK Packaging)
I would like to add these to add this to ManifestRequirementsOverride.txt:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />
<uses-permission android:name="com.android.vending.BILLING" tools:node="remove" />
BUT this would require adding the tools to the AndroidManifest.xml (see here):
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="...">
Therefor I don’t know a way how to remove these permissions from the project.
It doesn’t work to override them?