class

Analyzer::Mobile::WellKnown

Inherits Analyzer < FileHelper < Reference < Object

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

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

These describe the same surface the client-side analyzers extract from AndroidManifest.xml / *.entitlements, but from the host's perspective and — for AASA — with the actual path patterns (/buy/*, NOT /private/*).

Same model as the other mobile analyzers: one endpoint per declared path, method "GET", semantics in protocol ("universal-link"). The associated app id / package rides along in metadata. Excluded patterns (AASA NOT / exclude: true) are still emitted, tagged excluded, since they are part of the declared surface.

Constants

HANDLE_ALL_URLS = "handle_all_urls"

Digital Asset Links relation that delegates URL handling to the app — the App Links grant. Other relations (e.g. get_login_creds) are not deep-link surface and are ignored.

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

Instance-side view of the same declaration. The per-file rescues live on this base class, which has no way to name the analyzer that is running inside them, so a skipped file could not be attributed to a tech. Deriving it from analyzer_for keeps the name written exactly once.

Source