Media Plugin Android 10 EACCESS error - solved

Hey guys,

I hope this helps someone else.

I recently purchased an android 10 phone and noticed that my audio recording functionality was broken in Android. Not so in Android 9

Running it through Android Studio on the device showed an EACCESS error when the plugin tried to store the recording to the temporary filedestination.
I found this medium article

Which pointed me to a temporary solution by adding something to the Android MAnifest
<manifest … >
<application android:requestLegacyExternalStorage=“true” … >

After that everything was working fine in Android 10 as well.

Sadly this is just a temporary workaround and now I will start digging in on how I need to change my file / storage / temporary storage etc