You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Files with a type unknown to File.probeContentType() (or URLConnection.guessContentTypeFromName, so this issue is not dependent on #11) can't be sent in E2E-mode.
The two named methods return null for unknown filetypes, the Gateway SDK seems to ignore files with mimeType=null.
I would recommend checking for null when calling the filetype-function and using either MIME-type application/unknown or application/octet-stream for unknown filetypes (and maybe notifying the sender that this file will be sent as unknown via console output).
The text was updated successfully, but these errors were encountered:
Files with a type unknown to
File.probeContentType()
(orURLConnection.guessContentTypeFromName
, so this issue is not dependent on #11) can't be sent in E2E-mode.The two named methods return
null
for unknown filetypes, the Gateway SDK seems to ignore files withmimeType=null
.I would recommend checking for null when calling the filetype-function and using either MIME-type
application/unknown
orapplication/octet-stream
for unknown filetypes (and maybe notifying the sender that this file will be sent as unknown via console output).The text was updated successfully, but these errors were encountered: