React Native - Overlay in Camera

2.8k Views Asked by At

I'm developing an app in react native and I will take some pictures.

I need to have a grid over my camera, and when the user take the picture, my app will save the image and the grid together.

Does anyone know how I solve this problem?

Thanks

This link below show exactly I need

https://pt.stackoverflow.com/questions/362327/react-native-overlay-em-camera

1

There are 1 best solutions below

0
Gabriel Arantes On

I solved this problem using react-native-camera and react-native-view-shot packages.

Inside the RNCamera component, I created my grid with position absolute and to save the picture with grid above, I used the captureScreen function from react-native-view-shot package.