I want to detect the front camera’s flash and if the front camera has flash then turn it on otherwise show an alert message and I’m using these blocks for that
BUT
It doesn’t show any alert if the front camera has flash or not. It just turns on the flash of the back camera. It works only for back flash, not the front.
Any way to do this for the front camera? And show only alert if the front camera doesn’t have flash.
I mean… if there was any way to show an alert notice would be better or if there is a way then tell me… that’s all I asked… I’m not complaining about the component, just asking