getFiles() in react native with relayjs mutations
Opened this issue · 1 comments
antonsivogrivov commented
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?
sibelius commented
the format is a map
{
'filename1': File1,
'filename2': File2,
}