Skip to Content
Platform.Ontology

Activity recognition

Asks to detect walking, driving, cycling and step counts.

Asks you firstLocation and motionMotionAndroid and iPhoneWhile you use itIn the background

In one line

Can tell if you walk, drive or cycle, and count steps, after you allow Motion

Asks to detect walking, driving, cycling and step counts.

Motion classes reveal commutes, exercise habits and sleep schedules. On both OSes it is gated by a runtime prompt.

What it can and can't do

What the user does: You tap Allow when the app asks for physical activity or motion access

It can

  • Detect walking, running, cycling and driving
  • Count steps and walking distance
  • Look back about 7 days of activity on iPhone
  • Wake in the background through Play services on Android

It cannot

  • See where you are
  • Record activity before you allow it
  • Keep going if you turn the permission off in Settings
  • Skip the prompt on Android 10 and newer for step counters (iPhone raw motion sensors need no prompt)

How it differs between platforms: Android 10 and newer needs Activity recognition permission for step sensors. iPhone asks for Motion and Fitness.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 10 (API 29)iOS 7.0
Permission or entitlementACTIVITY_RECOGNITIONNSMotionUsageDescription
Protection leveldangerousprompt
How access is grantedpromptprompt
What the user seesAllow or Don't allowAllow or Don't Allow
How long it lastsUntil revoked or auto-resetUntil revoked
How to take it backSettings > Apps > Permissions > Physical activitySettings > Privacy & Security > Motion & Fitness
Store policyPlay: data-safety disclosureApp Review 5.1.1
APISensor.TYPE_STEP_COUNTER, ActivityRecognitionClientCMMotionActivityManager, CMPedometer
NotesNeeded for step counter and detector sensors starting with Android 10 (API 29).Raw accelerometer and gyroscope reads do not need a prompt on iOS.

Data you get

What comes back: Activity type and steps
Shape: event
How often: event driven; step counts per interval

FieldTypeUnitRangePrecision
stepsintegersteps0 to 100000 per day1 step

Technical limits

  • Raw motion sensors need no prompt
  • Step count history limited to 7 days on iOS

The story

What it is

An app asks to know if you are walking, running, cycling or in a vehicle, and to count steps.

For you

You see a prompt asking to access physical activity or Motion and Fitness. If you allow it, the app can show your steps and know when you start a run or ride. If you say no, some tracking features do not work.

For makers

Makers use it to start workouts on their own, count steps cheaply and know when you are driving so they do not bother you. It also builds a picture of your daily routine: commute, exercise and sleep times.

Where you see it

TypeExampleApps
fitnessA running app starts recording the moment it senses you running, so you never forget to press start.Strava, Nike Run Club
gamesA walking game turns your real steps into hatching eggs and rewards.Pokemon GO, Pikmin Bloom
healthA step counter shows daily steps and a weekly streak.Apple Health, Google Fit
automotiveA driving score app detects that you are in a car and starts to log the trip.Life360
mapsA map app switches to walking directions once it sees you step out of a car.Google Maps
analyticsAn insurance or ad partner reads how much you move to guess your health.None named

Risks

  • Reveals routine
  • Health inference

Android and iPhone in short

  • Android: Android asks for the Physical activity permission, and an app can get walking, driving and step events.
  • iPhone: iPhone calls this Motion and Fitness. Apps ask once, and you can turn it off in Settings.

What the platform says

Good uses and abuse

Legitimate uses

  • Fitness tracking

Known abuse

  • Behavior profiling

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2013-09, iPhone iOS 7: M7 motion coprocessor introduced; motion access via CoreMotion
  • 2019-09, Android 10 (API 29): ACTIVITY_RECOGNITION made a runtime permission
  • Body sensors. Can see your heart rate and similar body signals while the app is open

Same idea on the web

Sources

How well checked: Based on official documentation.

On this page