Motion and fitness activity
Reads step counts and whether the person is walking, running, driving or cycling.
In one line
Can see your steps and whether you walk, run, drive or cycle, after you allow
Reads step counts and whether the person is walking, running, driving or cycling.
Reveals daily routine, commute mode and exercise habits, and works as a coarse movement log even without location.
What it can and can't do
What the user does: You tap Allow for Motion and Fitness (iPhone) or Physical activity (Android)
It can
- Count your steps and walking distance
- Tell whether you walk, run, drive or cycle
- Look back about 7 days of history on iPhone
- Use Health Connect or Play services on Android
It cannot
- See your location
- Record before you allow
- Run the sensors if you turn the permission off
- Use step counters on Android 10 and newer without the permission
How it differs between platforms: Android 9 and older needed no permission for the step counter. iPhone keeps about 7 days of motion history.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 10 (API 29) | iOS 11 |
| Permission or entitlement | ACTIVITY_RECOGNITION | NSMotionUsageDescription |
| Protection level | dangerous | prompt |
| How access is granted | prompt | prompt |
| What the user sees | Allow or Don't allow physical activity | Allow or Don't Allow motion and fitness |
| How long it lasts | Until revoked; auto-reset after months unused | Until revoked |
| How to take it back | Settings > Apps > Permissions > Physical activity | Settings > Privacy & Security > Motion & Fitness |
| Store policy | Play: sensitive health and activity data policy | App Review 5.1.1 |
| API | SensorManager TYPE_STEP_COUNTER, ActivityRecognitionClient (Play services), Health Services | CMMotionActivityManager, CMPedometer |
| Notes | Android 9 and lower needed no permission for step counter | Historical queries reach back about 7 days |
Data you get
What comes back: Activity class and step count
Shape: event
How often: continuous or historical
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
activity | enum | None | stationary, walking, running, automotive, cycling | Not listed |
history | list | days | about 7 days on iOS | Not listed |
Technical limits
- History window about 7 days on iOS
- No raw accelerometer data is returned by these APIs
The story
What it is
An app reads your step counts and whether you are walking, running, driving or cycling.
For you
You see a prompt asking to access Motion and Fitness, or Physical activity on Android. If you agree, the app shows your steps and may start a workout when you begin to move. If you say no, those features turn off.
For makers
Makers use it to track steps cheaply, power fitness rewards and detect drives. It also reveals your daily routine, like when you commute, work out and sleep, even without GPS.
Where you see it
| Type | Example | Apps |
|---|---|---|
| fitness | A step counter shows your steps and a goal ring that fills up as you walk. | Apple Fitness, Fitbit |
| games | A game gives coins for the distance you walk in the real world. | Pokemon GO, Zombies, Run! |
| health | A health app notes how active you are and tells your doctor if you stop moving. | None named |
| automotive | A car insurer's app detects that you are driving and scores braking and speed. | Progressive Snapshot |
| shopping | A rewards app pays points for steps, which keeps you coming back every day. | Sweatcoin |
| wearables | A watch app syncs steps and activity type with the phone. | Garmin Connect |
Risks
- Reveals daily routine
- Insurance scoring
Android and iPhone in short
- Android: Android calls this Physical activity, and it is a runtime permission on Android 10 and later.
- iPhone: iPhone calls this Motion and Fitness and shows a prompt the first time an app asks.
What the platform says
- Apple: Motion and Fitness. Apple's setting that lets apps show your steps, distance and activity from your iPhone's motion sensors.
- Google: Physical activity. Android lets apps know about your physical activity so they can count steps and detect workouts.
Good uses and abuse
Legitimate uses
- Fitness trackers
- Insurance telematics
Known abuse
- Inferring commute and sleep patterns
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 4 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 2 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2017-09, iPhone iOS 11: Motion usage key and prompt
- 2019-09, Android 10 (API 29): ACTIVITY_RECOGNITION made a runtime permission
Related capabilities
Related
- Raw accelerometer and gyroscope. Can see how your phone moves and tilts, with no prompt
- Health data (HealthKit and Health Connect). Can see and add health data such as steps and sleep, one type at a time
Sources
- Apple: CMMotionActivityManager
- Android: Request activity recognition permission
- Apple: Protected resources keys
How well checked: Based on official documentation.