Open benoist opened 7 years ago
Any updates on this? Making the mimetype flexible would be awesome as I'm trying to share .pdf and .ppt files
since that list at the moment is static, it's better to expose that one as a JS function. Any one interested doing a PR?
I Make react-native-file-share-intent it's Work perfectly on both platforms. It supports all media to share our App
Hi,
Currently it's not possible to share PDFs in android as the files are checked for file type
https://github.com/alinz/react-native-share-extension/blob/master/android/src/main/java/com/alinz/parkerdan/shareextension/ShareModule.java#L59
I've added a check for application/pdf as well, but maybe there are other ways to detect if the share is file...