testfairy / react-native-testfairy

React Native component for TestFairy SDK
https://www.testfairy.com
Apache License 2.0
33 stars 12 forks source link

undefined is not an object (evaluating TestFairyBridge.begin) #9

Closed braco closed 7 years ago

braco commented 7 years ago
screen shot 2016-12-19 at 1 30 41 pm

Getting this from a fresh install and this invocation,

    componentWillMount() {
      TestFairy.begin(id);
    }
braco commented 7 years ago

Adding and removing RCTTestFairyBridge.* from the ios folder seemed to fix

reinisriekstins commented 7 years ago

Having exactly the same problem, however removing and adding RCTTestFairyBridge.h and RCTTestFairyBridge.m files from either ./ios/ios (the ios folder that should be dragged into the xcode project) or ./node_modules/react-native-testfairy/ios doesn't seem to work.

Could you explain in more detail how to fix this?

Dependency versions:

"react-native": "0.43.3",
"react-native-testfairy": "^2.1.4",