react-native-mail
react-native-mail copied to clipboard
custom mime types
Is it possible to just pass through a string for the mime types so I don't have to use the limited ones hard coded in the app?
It's worth noting that using a type like "txt" or "text/plain" will result in a crash on iOS. Be careful to only use the types listed here: https://github.com/chirag04/react-native-mail/blob/master/RNMail/RNMail.m
@smdjeff I have just created a PR to avoid this crash and correctly report the error to Javascript layers: https://github.com/chirag04/react-native-mail/pull/141