Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Media Plugin Android 10 EACCESS error - solved

$
0
0

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 https://medium.com/@sriramaripirala/android-10-open-failed-eacces-permission-denied-da8b630a89df

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

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>