1

I've started exploring the WebShare API Link. I found that Chromium has a limitation to what file types can be shared. I need to be able to share different file types like .xlsx and .docx for example. I'm unable to find any information on what types iOS supports.

My thought is that I let iOS users use the share feature if there is support for my needs and chromium based browsersm I will find some work around for.

Question is. Does anyone have knowledge about the file types available for sharing in iOS?

1 Answers1

0

I am not sure if there is a list of allow-listed file types that Safari supports, but according to the spec you can run the canShare() method before the sharing attempt since it will throw…

[i]f the user agent believes sharing any of the files in files would result in a potentially hostile share[.]

DenverCoder9
  • 2,024
  • 11
  • 32