class

Detector::Mobile::WellKnown

Inherits Detector < Reference < Object

Detects the server-side half of a mobile universal-link association — the well-known files a host publishes so the OS will open an app for its URLs:

  • Android App Links — /.well-known/assetlinks.json (Digital Asset Links)
  • iOS Universal Links — apple-app-site-association (often extensionless, sometimes /.well-known/apple-app-site-association.json)

Matched by basename plus a content marker so an unrelated assetlinks.json / JSON blob doesn't register. Both file types feed the single well_known_applinks analyzer via the CodeLocator.

Instance methods

applicable?(filename : String) : Bool

Registers assetlinks.json / apple-app-site-association paths in CodeLocator, so it must run on every candidate file.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers assetlinks.json / apple-app-site-association paths in CodeLocator, so it must run on every candidate file.

Source
name

Registers assetlinks.json / apple-app-site-association paths in CodeLocator, so it must run on every candidate file.

Source