AMS
AMS

Reputation: 21

React Native Camera Image with Text

I want to do image capture and pass text along with the image in react native app, just like whatsapp does. When you invoke the camera to take a picture it will just capture the image and there is no way to add the text. Is there any component available for this kind of requirement.

Something like this Sample Example

Upvotes: 0

Views: 2054

Answers (2)

Grandm_a
Grandm_a

Reputation: 46

No component can achieve that at the moment, you can simply add text on the picture juste like: https://medium.com/@mheavers/vertically-centering-text-over-images-in-react-native-with-flexbox-935e822751f3

and use this package to save it as an image

https://github.com/gre/react-native-view-shot

Upvotes: 0

Vishal Jadav
Vishal Jadav

Reputation: 984

You can use react-native-camera.

Upvotes: 0

Related Questions