Did Flutterflow change where local media files are uploaded to?

Custom Code

Did Flutterflow change where local files are uploaded to? I previously had this code returning files for images or videos that is no longer finding them successfully. It took a while to find the exact location last time and a documented change to this path would be nice.

Anybody have issues with local video or image uploads and finding their path? Similar code found below.

Future<String?> getMediaLocalPath(FFUploadedFile file) async {
    final tempDir = await path_provider.getTemporaryDirectory();
    return "${tempDir.path}/${file.name}";
}

What have you tried so far?

iOS is returning this for example in xcode directly after upload then getting temporary location. It appears FlutterFlow also added new functionality to view an uploaded image. My guess is they changed the location around this time.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
9 replies