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

iOS version had error & here are some proposed solution. #14

Open
necixy opened this issue Apr 12, 2018 · 1 comment
Open

iOS version had error & here are some proposed solution. #14

necixy opened this issue Apr 12, 2018 · 1 comment

Comments

@necixy
Copy link

necixy commented Apr 12, 2018

I tried all the steps mentioned in the readme file and there were error while running iOS and I was able to fix it with following two steps:

  1. After you add the ReactNativeHeading.xcodeproj project into library, you also need to add the "libReactNativeHeading.a" into target's "Line Binary with Libraries" section.
  2. In iOS the degree is "degree.heading" instead of "data" only. (In DeviceEventEmitter.addListener("headingUpdated")).

I hope this can help someone facing problem.

@sboo
Copy link

sboo commented Jun 18, 2018

Thank you! The part for "Link Binary with Libraries" was essential!

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

2 participants