-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
The AVCaptureDevice
API on iOS has a couple of methods like isTorchAvailable
, isTorchActive
and hasTorch
for handling the torch. I haven't checked but I'm sure Android also has methods like these. It would be nice to see these methods implemented in react-native-torch, so that there would be no need for extra bridging to get the torch state from the native side.
OlivierFreyssinet-old, oguennec and al4iii
Metadata
Metadata
Assignees
Labels
No labels