react-native-heading icon indicating copy to clipboard operation
react-native-heading copied to clipboard

iOS version had error & here are some proposed solution.

Open necixy opened this issue 6 years ago • 1 comments

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.

necixy avatar Apr 12 '18 05:04 necixy

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

sboo avatar Jun 18 '18 07:06 sboo