Skip to Content
Platform.Ontology

Flashlight (torch)

Turns the camera LED on as a flashlight.

Does something on your deviceHardware and accessoriesActuatorsAndroid and iPhoneWhile you use it

In one line

Can turn the flashlight on while the app is open, with no permission

Turns the camera LED on as a flashlight.

No personal data is read. Neither platform asks for permission, so any app can switch the light on while in the foreground.

What it can and can't do

What the user does: You tap the flashlight button

It can

  • Switch the camera light on and off
  • Set the brightness level (Android 13 and later, iPhone)
  • Do it with no prompt

It cannot

  • See any of your personal data
  • Keep the light on after the app goes to the background on iPhone
  • Take photos or video, which needs the camera prompt

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 6.0 (API 23)iOS 4.0
Permission or entitlementNone (CAMERA is not needed for setTorchMode)Not listed
Protection levelnonenone
How access is grantednonenone
What the user seesNoneNone; torch control does not trigger the camera prompt
How long it lastsTorch turns off when the app leaves the foreground or another app takes the cameran/a
How to take it backQuick settings tileControl Center
Store policyNone listedNone listed
APICameraManager.setTorchMode, TorchStrengthLevel (Android 13)AVCaptureDevice.torchMode, setTorchModeOn(level:)
NotesAndroid 13 adds brightness levels.Needs lockForConfiguration; the torch turns off when the capture session ends or the app backgrounds.

Data you get

What comes back: Torch state
Shape: boolean
How often: on call

FieldTypeUnitRangePrecision
levelintegerstep1 to maxLeveldevice dependent

Technical limits

  • Camera light indicator rules do not cover the torch

The story

What it is

Turns the camera light on so the phone works as a flashlight.

For you

You swipe the control centre or tap a button and the light comes on. There is no pop up, since the light reads nothing about you. The light can also come on when an app scans a code in the dark.

For makers

Apps use the light to help the camera work in low light, for scanners and for signals. It is also a classic pitch for tiny utility apps. It needs no permission, so it has been used as a cover for apps that ask for much more.

Where you see it

TypeExampleApps
utilitiesA flashlight app turns on the LED with one tap.None named
paymentsA barcode scanner flips on the torch in a dark shop so a code can be read.Google Lens
creativeA video app lights a face while you record in a dark room.TikTok
liveA concert app turns the phone into a light show that blinks with the music.None named
securityA safety app flashes the torch to signal for help.None named
accessibilityA deaf user gets a flash alert when the phone rings.None named
gamesA treasure hunt game asks you to shine the light on a clue.None named

Risks

  • Cover for shady apps
  • Battery drain
  • None for data

Android and iPhone in short

  • Android: Android 13 adds brightness levels for the torch.
  • iPhone: The torch turns off when the app moves to the background or the camera stops.

Good uses and abuse

Legitimate uses

  • Scanner lighting
  • Flashlight apps

Known abuse

  • Flashlight apps over-collecting permissions

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits0Rough identifying entropy, when known

History

  • 2015-10, Android 6.0 (API 23): setTorchMode with no camera permission
  • 2022-08, Android 13 (API 33): Torch strength control

Same idea on the web

Sources

How well checked: Based on official documentation.

On this page