Open hugohow opened 6 years ago
I had the same issue.
to use it as Torch.switchState(... import Torch from .... not import { Torch } from ...
@varburg I solve it by manual installation : https://github.com/ludo/react-native-torch/pull/10
react-native link also failed on android for me. Had to go in and link manually.
I have the same problem on android. how could I solve it? :(
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"
It may be a problem with the linking ?
Thanks