Is it possible to convert a base64 to a temporary file that can be saved to camera roll?

Hello,

Im trying to figure out how I can convert a base64 back to a URI so I can save it locally to the camera roll. The reason I have to do this is because I save the base64 of the images when they fail to upload, since URI’s are temporary files and can be deleted. So I must be able to convert these base64s back to uris when the user wants to save the file to their Camera Roll. is there a way to do this using FileSystem? I read the documentation but did not find anything.

  const asset = await MediaLibrary.createAssetAsync(`data:image/jpeg;base64,${picBase64}` )

expo team? anyone please?