Audio recorder works on Android but not on IOS.

Hello everyone,

I tried following this tutorial: https://docs.flutterflow.io/actions/actions/utilities/audio-recording

It works fine on my Android device, but not on my iPhone.

I keep on getting this error after I stop recording:

Exception has occurred.

"""
PlatformException (PlatformException(PLAY_ERROR, Cannot play /var/mobile/Containers/Data/Application/B616429C-3B3A-42F2-8B4B-2E9892BD6CBA/Documents/audio_1705877487925.m4a, Operation Stopped, null))
"""

It seems to me that IOS doesn't allow me to access this path.

I see tutorials on how to send the file online via Firebase.

However, what I'm interested in doing is playing the file locally.

Any suggestions?


7
7 replies