# Privacy Policy

**Effective Date:** November 13, 2026

This is a plain description of what the App does, written by its developer. It is not legal advice and is not a promise that the App meets any particular law.

Graffux (the "App") is committed to protecting your privacy. This Privacy Policy describes how we handle information in our mobile application.

## 1. Information We Do Not Collect

Graffux is a "local-first" application. We do not require you to create an account, and we do not collect personal information such as your name, email address, phone number, or physical location.

## 2. Data Storage

All your creative work—including sketches, photos, and project layers—is stored locally on your device. We do not have access to your creative content. Android cloud backup leaves out projects, downloaded models and installed extensions (its size cap would fail the whole backup). A device-to-device transfer to a new phone carries projects but not downloaded models or installed extensions; the models are fetched again. In both, your consent choices (privacy_consent and stroke-prediction preferences, including your age declaration in section 4), the encrypted reports token (section 3), the purchase licences and buyer session, the extension state and trust keys, and any stroke-training files not yet uploaded are left out. It is your responsibility to back up your projects yourself (for example by manual file transfer).

## 3. Crash Reports (Opt-In)

If the App crashes or freezes, it writes a technical report to its own private cache on your device.

- **What is captured:** the error and stack trace (Java and native), your device model and Android
  version, the App's version, Android's own exit record for the crash or freeze (including the
  freeze trace), a short list of recent App actions, and up to the last 1000 lines of the App's
  own log output.
- **Where it goes:** nowhere unless you switch on Settings → Privacy → "Send crash reports" (off
  by default) **and** enter your **own** GitHub token under Settings → About → Developer. The App
  contains no token of the developer's and no relay or fallback for reports: with no token of your
  own, nothing is sent, and nothing is held back to be sent with some other key. With both in place,
  reports of crashes that happen after you switched it on are posted as **public** issues on
  <https://github.com/HereLiesAz/Graffux>, **under your own GitHub account**, using your token.
  Anyone can read them, GitHub keeps them under GitHub's terms, and you can delete an issue you
  posted from your GitHub account. Reports from before you switched it on are never sent. The App
  does not show you a report before it is posted.
- **Your token:** use a fine-grained token limited to that repository with Issues: read and write
  and nothing else. The App stores it encrypted with a key held in the Android Keystore, leaves it
  out of backups and device transfers, does not write it to its logs, and sends it only to GitHub's
  API. "Disconnect" under Settings → About → Developer forgets it.
- **Redaction:** before a report is saved or sent, the App removes GPS coordinates, auth tokens,
  passwords, authorization headers, JWTs and API keys (including GitHub, Figma, Google, AWS,
  Stripe and Slack ones), cookies, IP and MAC addresses, email addresses, file and content
  addresses, and private storage and home-directory paths. Redaction of
  free-form text cannot be perfect.
- **Stroke-prediction rankings:** with the same token connected **and** "Send crash reports"
  switched on, the App also files a short ranking of its stroke-prediction models (your device
  model, Android and App version, and timing numbers; no drawings) as a public issue under your account. With the
  switch off nothing is counted, saved or sent, and strokes drawn before you switch it on are never
  included. They are redacted the same way, and one left over from a run that ended unexpectedly is
  sent on the next launch only if crash reports are still switched on.
- **Stopping and removal:** switch the setting off and, if you want, disconnect the token. A posted
  report is an issue under your GitHub account: you can delete it there. If you cannot, contact us
  (section 9) and we will delete it from the repository, though a copy others have already made
  cannot be recalled.

## 4. Stroke-Model Training Data (Opt-In, 16 and Over)

Graffux is building a model that predicts where a stroke is going. Contributing training data is
**off by default**, is **only for people who are 16 or older**, and only starts when you switch on
Settings → "Contribute strokes to model training". Nothing is recorded or uploaded before then, and
switching it off stops both.

- **Age declaration:** the first time you switch it on, the App asks you to confirm that you are 16
  or older. Without that confirmation it cannot be switched on. The confirmation is your own statement;
  the App does not check it. It is kept on your device (and not in backups) so you are asked once.
  If you are under 16, do not switch it on.
- **What is recorded while it is on:** for each stroke, the touch path (positions, pressure,
  contact size, tilt, timing), the phone's motion-sensor readings around it (accelerometer,
  gyroscope, magnetometer, rotation), your device manufacturer and model, screen size and refresh
  rate, the App's version, the time the session started, the brush settings in use, and the name of
  the touch controller. Other fingers, a resting palm and the stylus hovering just before contact are recorded too. The separate "Raw touch heatmap" setting (rooted devices only, also off by
  default) adds the touch controller's raw sensor image.
- **What is not recorded:** your name, an account, your location, or any image, layer, photo or
  project content. A stroke is a path of points, so if you write or sign something while this is
  on, that path is part of what is recorded. Leave the setting off when you do.
- **Where it goes:** finished session files are sent over the internet to a small relay run by
  the developer, which saves them in a **private** storage bucket. They are **not published**, and
  the relay has no route that reads them back. The developer uses them to train and evaluate models.
  There is currently no automatic copy to Kaggle or anywhere else; if a private copy is made later it
  will be covered by the removal paragraph below. The App keeps no credential for this. The stored file's name contains your device model and the session's start
  time (`stroke-data/<device-model>/session-<time>.jsonl.gz`). Files wait in the App's private storage
  until the relay has them, then are deleted from the device. A file the relay rejects for good (a bad
  name, too large, or not stroke data) is also deleted, without being stored. Each upload carries a
  marker that you declared you are 16 or older, and the relay refuses uploads without it. Session files
  recorded on your device before you made the declaration (including before the declaration existed) are
  deleted from the device and are never uploaded, even if you declare before the App gets to delete them. A hostile program could send the marker without the declaration; it is a
  marker, not proof.
- **Earlier versions:** before November 13, 2026, the App uploaded this data to a **public**
  `stroke-data` branch of <https://github.com/HereLiesAz/Graffux>. The developer intends to remove
  that branch; until it is removed that data may still be readable, and copies others made cannot be
  recalled. If you had contribution on before then, the App switches it off at the next launch and
  shows a notice; when you switch it on again it asks you to confirm you are 16 or older.
- **Removal:** we cannot tell which files are yours. Email private requests to the developer contact email address shown on the App's Google Play listing (the Developer contact / Email entry)
  with your device model and the approximate dates you contributed, and we will delete the stored files that match, and any private copy.
  Because we cannot check that a file is yours, we delete every file matching what you give us. Models
  already trained from the data are not retrained. **Do not post your device model or dates in a public
  GitHub issue**, which would publish them.

## 5. Permissions

The App requests Internet access only, for the features in sections 3, 4 and 6. It does not request
camera, location, contacts or broad storage permissions; images you add are opened through
Android's own file picker or share sheet, one file at a time.

## 6. Third-Party Services

The App contains no advertising. It connects to third-party services only as follows:

- **Usage analytics (opt-in).** Google Firebase Analytics is built in but **off by default**; it
  collects nothing until you switch on Settings → Privacy → "Usage analytics". When on, Firebase
  records anonymous usage events (screens opened, App version, device model, approximate country)
  under Google's privacy policy. No drawings, names or location are sent. The advertising ID is
  not used.
- **Updates.** The App checks for a newer version where it was installed from: Google Play's update
  service for a Play install, or the public GitHub releases page of HereLiesAz/Graffux otherwise.
  The request carries no personal data.
- **Figma import.** If you connect a Figma personal access token to import frames from a Figma
  file, that token is stored on your device (encrypted) and sent to Figma's own API, along with
  the file link/key you provide. This only happens if you enter a token and use Figma import.
- **Extensions (azphalt store).** Opening the store, searching it, or installing an extension
  sends the store (azphalt.store, or a store app you choose) the list of extensions you have
  installed and their versions, so it can show what you own and which updates exist. Installing
  fetches the extension's package from where it is hosted. Installs start only from your tap on
  Install in the store window, or after you confirm a prompt for a link or a store app's result.
  Code extensions run sandboxed, with no network or file access of their own, limited to the
  capabilities their package declares. See
  `spec/package-format.md` for the sandbox's exact guarantees.
- **Extension list readable by other apps.** So that a store app opened on its own can show what
  you already have, the App exposes the ids, versions, states and timestamps of your installed
  extensions (plus a short reason when an install failed) through a read-only content provider.
  It is guarded by the permission `azphalt.permission.READ_EXTENSION_STATE`, which Android grants
  without a prompt to any other app on your device that declares it, not only to the store you
  chose; an app that does can read the list. It holds no account or device information and cannot
  be written to. A failure reason has web and file addresses, paths and file names removed before it
  is stored, on a best-effort basis, and is cut to 200 characters. The App only hands out the
  provider's address when it opens a store.
  If you do not want this, do not install apps that ask for that permission.
- **Purchases (optional).** If you buy a paid extension inside the App, the App asks azphalt.store
  how to pay and sends it the extension's id, this App's package name and, on a Google Play install,
  your Google Play country code. Paying through Google Play is handled by Google under Google's
  privacy policy; the App sends the purchase token Google returns to azphalt.store so it can verify
  the purchase with Google and issue your licence. Paying by card opens Stripe Checkout, where Stripe
  and azphalt.store collect what the payment needs (such as your email and card details) under their
  own privacy policies; the App never sees your card. azphalt.store then sets a buyer-session cookie
  that the App keeps on this device, with your licences, so it can restore your purchases. The
  cookie and licences are never included in device backups or transfers, and are sent only to
  azphalt.store (the licence also when downloading the extension you bought). See
  <https://azphalt.store> for the store's own privacy policy.

## 7. Children's Privacy

The App does not ask for personal information; purchases happen only when you start one, and analytics, crash reports and training data are all off by default. We do not knowingly collect any data from children under the age of 13. Stroke-model training data (section 4) is only for people 16 or older, and the App asks for a declaration to that effect before it can be switched on; if you are under 16, do not switch it on.

## 8. Changes to This Policy

We may update our Privacy Policy from time to time. We will post the new Privacy Policy on this page with a new effective date. The App does not currently show a notice of policy changes to everyone; the one in-app notice it gives is to people whose stroke contribution was switched off pending the age declaration in section 4. Check this page for changes.

## 9. Contact Us

If you have any questions about this Privacy Policy, please email the developer contact email address shown on the App's Google Play listing (the Developer contact / Email entry). The project's public repository, https://github.com/HereLiesAz/Graffux, is for non-private matters only: do not post personal details, device information or removal requests there.
