Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / library / locationprovider / AGENTS.md

AGENTS.md1.4 KiBRenderedCodeRaw
1# AGENTS.md — library/locationprovider/ (':library:locationprovider')
2
3> Scoped supplement. Global rules in root `AGENTS.md` apply. Stay inside `library/locationprovider/` + allowed shared modules. Do not root-scan.
4
5<!-- last-reviewed: 2026-10-16 -->
6- Gradle: :library:locationprovider / dir: library/locationprovider/
7- Package roots present: provider
8- Entry files: (see sources — location abstraction consumed by networklocation + apps)
9- Deps: (verify in build.gradle.kts before adding)
10- Metadata: metadata_data/library-locationprovider.md (absent — libraries have none by design)
11- Rust: no / screenshotTest: no
12
13## Overview
14**Purpose:** Location abstraction over GPS/network providers — the interface `networklocation/` implements and apps consume, so location callers never touch providers directly.
15**How to use:** Depend on the abstraction, not the implementation; `networklocation/` is the system-backed provider.
16**Entry points:** Read the `provider/` sources first (card Key files were empty — fill in from `ls` when touching this module).
17**Gotchas:** This card was a near-empty stub (no Key files) — verify against `ls` before trusting it.
18
19## Key files
20- (Verify via scoped `ls` — card had no Key files at last review; add them when touching this module.)
21
22## Verify (this module only)
23```
24./gradlew :library:locationprovider:compileDevKotlin
25./gradlew :library:locationprovider:lint
26```