1.3.7 • Published 6 years ago
react-native-oui-pedometer v1.3.7
react-native-oui-pedometer
Getting started
$ npm install react-native-oui-pedometer --save
$ react-native link react-native-oui-pedometer
Usage
import Pedometer from 'react-native-oui-pedometer'
Pedometer.isAvailable().then(isAvailable => {
  // Whether the device has step counting capabilities.
})
Pedometer.authorizationStatus().then(authorizationStatus => {
  // iOS only
  //
  // The authorization status as a string:
  //   - "not_determined"
  //   - "denied"
  //   - "authorized"
  // 
  // Always "authorized" for Android.
})
Pedometer.requestAuthorization().then(() => {
  // iOS only
  //
  // Request the user authorization to read the number of steps from Health Kit.
  //
  // Return directly on Android.
})
Pedometer.getNumberOfSteps().then(numberOfSteps => {
  // Get the number of steps since a fixed moment in time.
})1.3.7
6 years ago
1.3.5
6 years ago
1.3.4
6 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.4
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
2.0.0
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.15
7 years ago
1.0.14
7 years ago
1.0.13
7 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago