react-native-share-menu icon indicating copy to clipboard operation
react-native-share-menu copied to clipboard

iOS - Sharing multiple images/files

Open CptMaumau opened this issue 5 years ago • 8 comments

When I select multiples images/files on iOS I receive only the first one. Does this require extra configuration or is it a feature to be added in the library?

CptMaumau avatar Sep 07 '20 09:09 CptMaumau

You need to change the max count of sharable items in info.plist

image

billkim84 avatar Sep 28 '20 02:09 billkim84

@billkim84 I've tried this and still I receive only one file in the shared data.

CptMaumau avatar Oct 13 '20 07:10 CptMaumau

Hmm, it looks like the component is coded to only share one thing at a time. I'm taking a look at it to see if it can easily be extended but if anyone else has more info to help that would be great

References:

  • https://github.com/meedan/react-native-share-menu/blob/b77a4630c7d32289e619ae6a50fd546cdcc30a89/ios/Modules/ShareMenuReactView.swift#L77

  • https://github.com/meedan/react-native-share-menu/blob/b77a4630c7d32289e619ae6a50fd546cdcc30a89/ios/Modules/ShareMenuReactView.swift#L95

scgough avatar Dec 07 '20 13:12 scgough

Is there any update on this multiple upload of files?

raveracker avatar Feb 02 '21 06:02 raveracker

Heyy! Is there something new on this one? I hit the same limitation and wonder when it will be resolved. Thanks for the great library!

vstoyanoff avatar Apr 14 '21 11:04 vstoyanoff

@CptMaumau @scgough can you check my PR / branch.. thanks.

RZulfikri avatar May 19 '21 23:05 RZulfikri

There are two PRs open for this by now. Would be great if one of them could be merged as there seems to be high demand. Is there anything that prevents a merge? I would offer helping out fixing any issues to push this forward. Thanks.

flogy avatar Nov 02 '21 14:11 flogy

If you need this feature right now, check this: https://github.com/meedan/react-native-share-menu/pull/158

flogy avatar Nov 02 '21 15:11 flogy