react-native-torch
react-native-torch copied to clipboard
Torch (flashlight) plugin for React Native (Android/iOS)
On both Android and iOS, when trying to switch state, I get: TypeError: undefined is not an object (evaluating 'u.switchState') I get the error if I try to import TorchWithPermissionCheck...
As i'm correct understand - brightness level in not maximum. Can you add props or maybe properties to control this ? Thx
Hi, Currently I can't build my app successfully due to the error that appears when building a release apk for android. Have you guys manage to trigger this issue too...
Please update the version present in NPM, because every time you need to download the node_modules you also need to change your lib to the latest version of the gradle.
Hello, I didn't succeed to have this library worked. I have this : "undefined is not an object (evaluation '_reactNativeTorch2.default.switchState') Simulator : Physical iPhone react-native : "0.50.3" react-native-torch : "^1.1.3"...