inexuscore opened a new issue #223: URL: https://github.com/apache/cordova-plugin-media-capture/issues/223
I'm working on a project using Ionic 6.x, Angular 12, and Capacitor 3. The media-capture plugin works fine as in I can capture audio/video files and get the **MediaFile[]** response. But I can't access the captured files to read their contents (as base64 or array buffer, etc.). I've tried everything I could think of, nothing works. I'm using a Xiaomi Redmi Note 10 running Android 11. After hours wasted on this issue, I realized that this is most likely because of privacy changes introduced in Android 10+. The captured media files need to be stored in the app's cache directory or something. The **fullPath** returned by the plugin looks something like this: ``` file:///storage/emulated/0/Android/data/com.android.soundrecorder/files/filename.aac ``` Tried reading the file with the cordova-file plugin, the Capacitor Filesystem plugin, nothing worked. Is there a workaround? Has this been fixed? and if so when are you planning a release? I love working with the new versions of Ionic and Capacitor but this kind of stuff is incredibly frustrating. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
