stream-chat-react-native
stream-chat-react-native copied to clipboard
Provide additionalInfo to onLongPressProp
๐ฏ Goal
I noticed my custom onLongPressProp wasn't receiving additionalnfo about the press (e.g. specific thumbnail that was long pressed). I want to be able to take action based off the specific thumbnail that was long pressed in my custom onLongPress function. To do this I need access to the additional info objet.
๐ Implementation details
This change passes the additionalInfo object to prop onLongPress functions.
๐จ UI Changes
iOS
| Before | After |
Android
| Before | After |
๐งช Testing
โ๏ธ Checklist
- [ ] I have signed the Stream CLA (required)
- [ ] PR targets the
developbranch - [ ] Documentation is updated
- [ ] New code is tested in main example apps, including all possible scenarios
- [ ] SampleApp iOS and Android
- [ ] Expo iOS and Android