relay-authentication
relay-authentication copied to clipboard
getFiles() in react native with relayjs mutations
Hi!
I need to download multiple files from react native app throw relayjs mutation. Files array looks like:
[
{uri: 'file:///path/to/file.jpg', mime: 'image/jpg'},
{uri: 'file:///path/to/file2.jpg', mime: 'image/jpg'},
]
I found getFiles() func for mutations, but I don't understand what format of the data it should return?
the format is a map
{ 'filename1': File1, 'filename2': File2, }