react-native-compass Getting started $ npm install react-native-compass-x --save Mostly automatic installation $ react-native link react-native-compass-x Usage import Compass from 'react-native-compass-x'; // TODO: What to do with the module? Compass.getCompass(function (degree) { // degree is string number });