Question · React Native course · Module 11: Device and sensors

Installing sensors

How do you install expo-sensors?

Answer options

  • npm install sensors
  • npx expo install expo-sensors
  • expo add accelerometer
  • yarn add react-native-sensors

You can check the correct answer by solving this task in the CodeWorlds game.