Earlier quoted context omitted.
Yes, https://youtu.be/jTm4fjx_eZ0?t=532 this is done with React Native. I don't think nothing prevents you from rendering the camera UI preview component with an opacity of 0.0 I guess the main problem that no smartphone manufacturer wants to address is: People who take photos without permission to other people. It would be reasonable to enforce a law on all manufactures to add visible LED when the phone camera is be…
Um no, the whole point of that code is to show a preview on the screen. The comment you replied to is asking about the opposite, whether it's possible to hide the fact that the camera is being used.
I believe this is possible, in React Native you can access the camera and programmatically set the preview component size. As far as I know, there is nothing preventing you from using the camera to a preview component that is not visible on the screen.
If Whatapps can do this: https://cdn.howtoisolve.com//wp-content/uploads/2016/12/How-...
It means you can control the camera preview UI component.