Please provide the following:
- SDK Version: 35.0.0
- Platforms(Android/iOS/web/all): Android/iOS
I was able to use the Audio.Recording and Audio.Sound classes in order to record and play audio successfully. However, when I do to delete it, I am unable to delete the file, even though I have the location, and I get the following message:
[Unhandled promise rejection: Error: Location ‘file:///data/user/0/host.exp.exponent/cache/ExperienceData/%40anonymous%2Fcoco_clubhouse-9d9b1fca-ff27-4bcc-8af4-5d8f7eac1ef8/Audio/recording-c682eee1-6233-4912-b8c6-d619658d7e6a.m4a’ isn’t deletable.]
I am using FileSystem.deleteAsync(filePath) so what am I doing wrong?