I am trying to upload HEIC pictures to Firebase, but they are shown to have “application/octet-stream” type in the console, and all EXIF metadata is gone. Is this working as intended?
This is how I do the upload:
<code>func upload(image: UIImage) async throws -> URL {
let data = image.heicData()!
_ = try await storage.reference().child("path/to/image.heic")
return try await path.downloadURL()
}
</code>
<code>func upload(image: UIImage) async throws -> URL {
let data = image.heicData()!
_ = try await storage.reference().child("path/to/image.heic")
return try await path.downloadURL()
}
</code>
func upload(image: UIImage) async throws -> URL {
let data = image.heicData()!
_ = try await storage.reference().child("path/to/image.heic")
return try await path.downloadURL()
}