Skip to Content
Platform.Ontology

Install source and installer package

Apps can see which store installed them.

Gets silentlyHome screen and system linksInstallAndroid and iPhoneWhen the app opens

In one line

Can see which store installed it, like Google Play or a side loaded file

Apps can see which store installed them.

Shows sideloaded, beta or store installs. Used for fraud and update messaging.

What it can and can't do

What the user does: Nothing. It happens when the app starts up

It can

  • Tell if it came from Google Play or another source on Android 11 or newer
  • Check this to decide what to show you
  • Learn a rough clue about the install source on iPhone

It cannot

  • See which store installed other apps
  • Know on iPhone with the same detail as Android
  • Be sure the answer is true if the phone is tampered with

How it differs between platforms: Android 11 and newer names the installer. iPhone gives only a rough clue.

On Android and iPhone

AndroidiPhone
StatusSupportedPartial
First versionAndroid 11 (API 30)iOS 3.0
Permission or entitlementNot listednone
Protection levelnonenone
How access is grantednonenone
What the user seesNot listedNot listed
How long it lastsNot listedNot listed
How to take it backNot listedNot listed
Store policyNone listedNone listed
APIPackageManager.getInstallSourceInfo(): installingPackageName, initiatingPackageName, originatingPackageNameEnvironment production, sandbox or Xcode
NotesAPI 30None

Data you get

What comes back: Installer package or environment
Shape: string
How often: Static

FieldTypeUnitRangePrecision
installerstringpackage IDabout 10 common valuesexact

Technical limits

  • Low sensitivity

The story

What it is

Apps can see which store, or what other source, installed them.

For you

You never see it. An app knows if you got it from the official store, a beta, or a file. It may nag you to update from the store or refuse to run on a hacked copy.

For makers

Makers use it to spot sideloaded or repackaged apps and to decide which update message to show. It is useful for fraud and for cracked game copies.

Where you see it

TypeExampleApps
gamesA paid game spots a cracked copy installed from a file and blocks it.None named
bankingA bank app limits features if it was not installed from the official store.None named
securityA security tool flags apps installed from unknown sources.None named
developerA team sees how many testers came from a beta channel.TestFlight
adsAn ad network discards installs from unknown sources as fraud.None named
mediaA streaming app shows a store update link for the right store.None named
enterpriseA company checks that a work app came from its managed store.None named

Risks

  • Can block alternative stores
  • Small tracking value

Android and iPhone in short

  • Android: Android shows which package installed the app, from API 30.
  • iPhone: Only partial. iOS exposes much less.

Good uses and abuse

Legitimate uses

  • Detect sideloading

Known abuse

  • Little

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 bits2Rough identifying entropy, when known

History

  • 2020-09, Android 11 (API 30): InstallSourceInfo with initiating package

Sources

How well checked: Based on official documentation.

On this page