This PR adds support for accessing the native torch mode (ON or OFF).
An initial torch switch from react-native is required to get the correct status of the Torch. Subsequent Torch mode switches (from anywhere) are well detected.
This method is currently only supported on Android >= 6.0 and on iOS (>= 8.0).
This PR adds support for accessing the native torch mode (ON or OFF).
An initial torch switch from react-native is required to get the correct status of the Torch. Subsequent Torch mode switches (from anywhere) are well detected.
This method is currently only supported on Android >= 6.0 and on iOS (>= 8.0).