How to create a native file in react-native on iOS?

Viewed 3845

How can I create a native file on iOS?

For Android on react-native, it looks like react-native-fs will work.

Has anyone found a react-native component for iOS to create and write files?

My goal is to send an email with attachment. The project react-native-mail is a great react-native component to send email including file attachments that supports both Android and iOS.

I just need to figure out how to do file I/O in react-native. Else I need to learn how to write my a react-native iOS Native Module to perform file I/O.

https://www.npmjs.com/package/react-native-mail

Thanks in advance for any direction,

1 Answers
Related