angelos3lex / react-native-smtp-mailer

Send emails by connecting to smtp server+attachments, using android javamail and ios mailcore2
38 stars 32 forks source link

Support for file:// URIs #45

Open Kiruse opened 3 years ago

Kiruse commented 3 years ago

Would greatly appreciate support for "file://" URIs as Expo FS uses these. Simple support for such URIs (as returned by expofs.documentDirectory) would remove a redundant dependency.

In this image on the left is a log of RNFS.DocumentDirectoryPath and on the right expofs.documentDirectory.

image

angelos3lex commented 3 years ago

Hey, sure would be a good idea to support it, as this was also mentioned in the past I just can't assure of any eta on my side. But would happily accept any pr. Also, expo is not supported by this lib, so i guess you have this prob on an ejected app

Kiruse commented 3 years ago

I ejected a while ago, yeah. If I can find the time I'll look into a PR.