• 3
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

React Native - Overlay in Camera

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

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.

  • 1
Reply Report