react-native-heading
react-native-heading copied to clipboard
iOS version had error & here are some proposed solution.
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:
- 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.
- In iOS the degree is "degree.heading" instead of "data" only. (In DeviceEventEmitter.addListener("headingUpdated")).
I hope this can help someone facing problem.
Thank you! The part for "Link Binary with Libraries" was essential!