pwmckenna / react-native-motion-manager

CMMotionManager wrapper for react-native
https://www.npmjs.com/package/react-native-motion-manager
247 stars 69 forks source link

Cannot read property 'setGyroUpdateInterval of undefined' #25

Open bobby-hewitt opened 8 years ago

bobby-hewitt commented 8 years ago

I keep getting this error and occasionally a message saying 'undefined is not an object'. I have installed it as instructed but can't seem to get around this issue. Any help would be appreciated :)

peterept commented 7 years ago

This is fixed in pending PR#31.

peterept commented 7 years ago

To use that forked PR directly instead of this repo use:

$ npm install git://github.com/isaacnass/react-native-motion-manager.git --save $ react-native link

Then you are all set.

armenr commented 7 years ago

@peterept -- I'm getting the following with both this repo, and your fork of this project (BTW, I ended up doing the same work you did of manually fixing/updating the declarations to work with the latest XCode, but thank you for making your work visible for the rest of us!)

Any help or guidance would be very much appreciated.

screen shot 2017-04-01 at 4 48 04 pm screen shot 2017-04-01 at 4 35 59 pm