File component - save (all types of) files in the Private dir (→ internal storage)

It is currently not possible to request READ or WRITE permissions, because the File component (incorrectly) no longer declares these permissions in Manifest.

But it should do it like this:

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />

I checked it on Android 9 after declaring the permissions in the Manifest.

1 Like