Hello,
I am using expo-av to send audiofiles to a server.
I use the uri to send the audio, and I dont really wan’t the recording to occupate space in memory of the mobile device.
I assume that the uri that I am receiving of the audio file recording is a Cache.
I want to know, what can I do to not occupate the user device with unnecessary files?
Can this cache be cleaned?
--------- Execution:
import { Audio } from "expo-av";
...
recording.stopAndUnloadAsync();
const uri = recording.getURI(); // use this uri to send by formData to the server
console.log("Recording stopped and stored at", uri);
...