renderMessageVideo and renderMessageAudio doesn't work on expo ~42.0.1.
See original GitHub issueI had to make changes to the library on the node_modules itself in order to implement audio and video messages functionality, I at first after looking at the messages that said, “You need to provide your own implementation by using renderMessageVideo/renderMessageAudio prop,” I thought I had some sign of hope, but later found out they don’t work . Later I checked on the main component, and found out that, these two functions don’t exist.
Steps to Reproduce / Code Snippets
<GiftedChat
renderMessageVideo={yourRenderedComponentVideo}
renderMessageAudio={yourRenderedComponentAudio}
/>
and they don’t work, we see some blank messages or the text message as written before…
Expected Results
Expected results are pretty simple that, the renderMessageVideo and renderMessageAudio props are supposed to be working, and by sending the _props, we could render the message.
Additional Information
- Nodejs version: v14.17.3
- React version: 16.13.1
- expo version: ~42.0.1
- react-native-gifted-chat version: ^0.16.3
- Platform(s) (iOS, Android, or both?): both
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:15
Top Results From Across the Web
Expo-AV Sound.playAsync() doesn't work with expo-av 9.2.3 ...
I received a suggestion on how to change the functions I use to play the audio in the Expo Github Issues. Before, my...
Read more >Camera - Expo Documentation
Camera. expo-camera provides a React component that renders a preview for the device's front or back camera. The camera's parameters like zoom, auto...
Read more >expo - npm
Start using expo in your project by running `npm i expo`. There are 832 other projects in the npm registry using expo. ......
Read more >Expo - Apps on Google Play
Start building rich experiences with just your Android device and your computer. Expo is a developer tool for creating experiences with ...
Read more >Expo Something Went Wrong : 1 Expo React Native Tip You ...
We consider one important expo react native trick that you should know to help you solve many connection problems. This includes expo app ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Are you using typescript? Because when I go to the defaultProp types I do see renderMessageImage but I do not see renderMessageVideo. This is on version 0.16.3
Okay so I don’t know why that is not working. This is my renderMessageVideo…
I am using functional components so you might need to change some things to fit it in your code