Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in React Native 0.49.3 #6

Open
cweems opened this issue Dec 8, 2017 · 4 comments
Open

Not working in React Native 0.49.3 #6

cweems opened this issue Dec 8, 2017 · 4 comments

Comments

@cweems
Copy link

cweems commented Dec 8, 2017

Working on a side project with react native that uses this project. I'm new to working with RN so apologies if the answer is obvious.

After following the setup instructions (running react-native-simple-compass --save and react-native link) I encounter the following error when importing RNSimpleCompass:

undefined is not an object (evaluating 'RNSimpleCompass.start')

I'm using React Native 0.49.3 with ViroReact. Has anyone else encountered this issue?

@jmkovachi
Copy link

Yes, I have too. Were you able to resolve it?

@lfiorini
Copy link

If you're using Android check if MainApplication.java has been updated. If not you have to manually do it as reported in the README.

@amritaramnauth
Copy link

I'm having this issue too. To be exact, it says "Cannot read property start of undefined". I'm using React Native 0.49.3 along with ViroReact 2.4.0 on an iOS device. Was anyone able to resolve?

@VikAdvani
Copy link

VikAdvani commented Apr 12, 2018

Hi @amyramnauth, @lfiorini, @jmkovachi, @cweems Since react-native-simple-compass is a native module it won't work with the Viro Testbed app. Make sure you are using Android Studio or XCode if you want to use this module with Viro :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants