Repository Public BSD-3-Clause
1# ORIX Maps — privacy, as the software behaves23Written from the code and the deployed infrastructure, checked on 2026-11-25. If the behaviour changes, this file and4the in-app Privacy screen change with it. The public privacy policy must not claim more than what is written here.56## On the device78| Data | Where it lives | Leaves the device? | How to remove it |9|---|---|---|---|10| Position (GPS) | In memory while a feature that needs it runs: the position button, guidance, compass, track recording | Never | Stops when the feature stops. Permission is asked on first use of such a feature, "While Using the App" only. Background updates run only during guidance or a recording the user started. |11| Search text and results | Computed on the device from installed regions | Never | — |12| Routes | Computed on the device | Never | — |13| History (recent searches, opened places) | `Application Support/ORIXMaps/Library/places.sqlite` | Never | Settings → Privacy → turn off "Keep recent searches and places" (stops recording) or "Erase history" (deletes rows and vacuums the file: a test checks that no erased text remains in the database or its journal files) |14| Last map position | UserDefaults | Never | Erased with the history |15| Saved places, notes, collections | `places.sqlite` | Only when the user exports or shares a file | Delete in the app; removing the app removes everything |16| Tracks | `Application Support/ORIXMaps/Tracks/` | Only when the user exports or shares a file | Delete in the app |17| Themes and imported layers | `Application Support/ORIXMaps/Themes`, `Layers` | Only when shared | Delete in the app |18| Installed maps | `Application Support/ORIXMaps/Regions/` (excluded from device backups) | Never | Maps → delete |19| Preferences | UserDefaults | Never | Removing the app |2021No account. No advertising. No analytics or crash-reporting SDK. No third-party code that contacts a network: the only22third-party binary is MapLibre Native (rendering), which is given a style that references local files only. The system23log receives diagnostics through `PrivacyLog`, which removes coordinates and long numbers; debug-level messages are24compiled out of release builds.2526Not encrypted beyond iOS Data Protection defaults: the files above use the default protection class of the app27container (protected until first unlock). Nothing is stored in the Keychain because the app holds no secret.2829## Network requests3031The app makes exactly two kinds of requests, both `GET` over HTTPS to `www.orixlab.dev`:32331. `…/maps/v1/catalog.json` (and the per-region documents) when the Maps screen is opened or refreshed;342. `…/maps/v1/files/<region>/<version>/<file>.orixmap` when the user downloads a region (possibly in several ranges).3536A request carries: the URL path, `User-Agent: ORIXMaps/<app version>`, `Accept`, `Accept-Encoding`, `Accept-Language`37(added by the system), and for resumed downloads `Range` / `If-Range` / `If-None-Match`. It never carries a position,38a search, an identifier, a cookie, or a query string. `PolicedTransport` enforces this in the app (requests that break39the rule are refused before they are sent); a test with a real loopback server recorded the headers actually sent.4041What a download necessarily reveals to the server: the device's IP address, the time, the app version, and **which42region was downloaded**.4344## On the server4546| Component | What it records about a catalog or map request | Retention |47|---|---|---|48| The site route (`/maps/v1`, Next.js on the web node) | Nothing on disk. In memory only: a request counter per client IP address for rate limiting (300 requests per 60 s), lost at restart. | Until the process restarts |49| The public gateway (Caddy on the tunnel server, Beauharnois, Québec) | Standard access log for `www.orixlab.dev`: client IP address, time, method, URL path, response status and size, duration, request headers (including the User-Agent). Written to the system journal. | Bounded by the journal's size limit (default systemd policy), not by a time limit. On 2026-11-25 the oldest retained entry was about two days old. |5051The access log is not used for analytics and is not shared. To promise a time-based retention publicly, a52`MaxRetentionSec` (or a dedicated log with rotation) must first be configured on the gateway: **owner decision**.5354## App Store privacy answers (to be entered by the owner, see `docs/RELEASE.md`)5556- Tracking: no.57- Data collected and linked or not linked to the user by the app: none.58- The gateway's access log (IP address + requested region) is server-side operational logging. Whether to declare it59 under "Other diagnostic data, not linked to you" or to treat it as outside the app's collection is a judgement the60 owner must make; the conservative answer is to declare "Coarse Location: no", "Diagnostics: no", and describe the log61 in the privacy policy. Do not select "Data Not Collected" without reading this section.6263## Not verified6465- Behaviour on a physical device (background location indicator, system permission prompts wording in French).66- What Apple's own frameworks (URLSession, Core Location) log to the system.67