Privacy Policy
Effective date: October 7, 2026
This Privacy Policy describes what data Aquarium Coach (the iOS app, hereafter "we" or "the app") collects, why, who else sees it, and the choices you have. It is written in plain English on purpose. If anything is unclear, email us at aquariumcoach@cpmtek.com.
1. The short version
- We collect the minimum we need to run the app: photos you submit for AI analysis (the image itself is never stored), an app account identifier created on our backend when you first use a feature that needs it (and, only if you Sign in with Apple, an opaque Apple user ID), and — only if you choose to share them during Sign in with Apple — your name and email, which we store on our backend. We do not collect crash or analytics diagnostics.
- Photos you submit for AI analysis are sent to our backend and then to Anthropic (a third-party AI provider). The image bytes are NOT retained on our servers after the AI returns its result. We keep the AI's text response for 30 days.
- We do NOT track you across other apps or websites.
- We do NOT sell your data to anyone.
- We do NOT show ads.
- No account sign-up is required (from version 1.5.1). AI photo scanning and Pro purchases work without signing in; the app creates an anonymous account identifier for you (see §2.9). Sign in with Apple is optional and lets you use Pro's scan allowance on all your devices, as one allowance they share. Pro's trend charts and PDF reports work on every device that uses the same App Store account, whether or not you sign in. iCloud sync depends on your device's iCloud account, not on signing in to the app.
- You can delete your local data at any time from Settings → Delete all local data (if iCloud sync is on, the deletions sync to your iCloud database and other devices too). Anyone with an account (anonymous or Sign in with Apple) can delete their backend account and the app's iCloud data with Settings → Delete my account (see §7.2 for exactly what that removes).
2. Data we collect
2.1 Photos
When you tap Analyze on a test-strip scan or a tank-health scan, the app sends the photo (a JPEG resized so its longest side is at most 1280 px) to our backend at aquariumcoach-api.cpmtek.com. Our backend forwards it to Anthropic's Claude API for AI analysis and receives the AI's response (text only). We do NOT store the image bytes. We do keep a log of the AI's text response for debugging.
- Why: it's the entire point of the app — our backend holds the AI provider's API key so the key isn't exposed in the iOS binary.
- Where it goes: your device → our backend (held in memory only) → Anthropic Claude API. The result returns to your device. The AI's text response, the strip brand you selected, and the image's file size are logged in our backend's Postgres database.
- How long: image bytes are held in memory only while the analysis request runs (the request is cut off after about 3 minutes at most), then discarded. The AI's text response log is deleted by a daily job once it is 30 days old.
- Linked to identity: every scan request is sent under your account identifier (anonymous or Sign in with Apple), so every scan request and every logged AI response is associated with it.
2.2 Apple User ID (only if you Sign in with Apple)
If you choose Sign in with Apple, we receive an opaque identifier (Apple calls it the "user" or "sub" claim) that uniquely identifies you to our app. This identifier:
- Is generated by Apple, not us
- Is stable across reinstalls (so the scan allowance and scan counts on your account, including Pro's, follow you)
- Is different for every app you sign into — we cannot use it to track you across other apps
- Lets the scan allowance of a Pro purchase made while signed in follow you to every device where you sign in with the same Apple ID
We do NOT receive your real Apple ID, your real email (unless you choose to share it), or your name (unless you choose to share it).
2.3 Optional: name and email (only if you share via Sign in with Apple)
When you Sign in with Apple, Apple lets you choose:
- Share your real name and real email — we receive them and store both on our backend (see below).
- Hide my Email — Apple gives us a relay email address (
xxx@privaterelay.appleid.com) that forwards to your real one, which we never see; we store the relay address.
- Don't share name/email at all — we get only the opaque identifier from §2.2 and store no name or email.
If you share your name and/or email (including a Hide-My-Email relay address), we store them on our backend, linked to your account identifier, to show them in Settings and to support your account and purchases. If Apple sends a different email on a later sign-in, we replace the stored one. The app also keeps a copy on your device, in the iOS Keychain, so Settings can show it. We never sell or share them with anyone, and Settings → Delete my account erases them from our backend.
2.4 Account and usage records on our backend (for every account)
Alongside your account identifier (and name/email if shared), our backend stores:
- When your account record was created and when you last used a feature that uses your account (sign-in, AI scans, scan-allowance checks, purchases)
- Your scan counts per calendar month (and per day while you're on Pro), used to enforce the free and Pro scan limits
- Mainly for Sign in with Apple accounts: a purchase-link token (a one-way hash of an Apple user ID) that the app attaches to purchases made while signed in with Apple, so Apple's purchase records can be matched to your account (see §2.7). An anonymous account can also hold one if the app on your device sends us a purchase made while signed in with an Apple account whose token no account on our backend holds any more (for example, because that Apple account was deleted), and we accept it. The app sends your purchases to us automatically when it starts and whenever they change, not only when you tap Restore Purchases. If you later sign in with Apple, the token moves to your Apple account (or is dropped if that account already has one).
- If we obtain one at sign-in, an Apple-issued refresh token for your Sign in with Apple grant, held only so we can revoke that grant when you delete your account
- The IDs of sign-in sessions that were signed out or replaced, so they can't be reused
- Anonymous accounts only: the calendar month in which the account last claimed this device's monthly free scans, and whether it was granted them (see §2.9)
- Anonymous accounts only, after you sign in with Apple: which Sign in with Apple account the anonymous account was merged into, and when (see §7.2)
These records are kept until you delete your account (see §7.2). They have no automatic expiry, with one exception: an anonymous account that was merged into a Sign in with Apple account is deleted 90 days after the merge, or together with that Apple account if you delete it first.
2.5 In-app reminders, livestock, equipment, tank notes
Everything you log in the app — tank names, gallons, livestock species, equipment install dates, water-change reminders, test result history, saved scan readings, photos you attach to a tank, and small thumbnails of scanned strips — lives:
- On your device (SwiftData storage, protected by iOS data protection)
- In your private iCloud database (only if iCloud sync is available on your device), encrypted by Apple in transit and on Apple's servers
This data is NEVER sent to our backend, and we don't have access to it. (AI scans are the one exception: the photo and the AI's response pass through our backend as described in §2.1, and saving the readings keeps them on your device and in your iCloud only.) If iCloud sync is off or unavailable, it stays solely on your device.
2.6 Crash and performance diagnostics
For v1, the app does NOT bundle a third-party crash reporter (no TelemetryDeck, no Sentry, no Firebase). If you have iOS Settings → Privacy & Security → Analytics & Improvements → Share with App Developers turned on, Apple may forward crash logs to us through their developer dashboard (this is Apple's own infrastructure, not ours).
We may add a privacy-first crash reporter (TelemetryDeck) in a future version. If we do, this policy will be updated and you'll see an in-app banner on next launch.
2.7 In-app purchases
When you buy Pro Monthly or Pro Yearly, the transaction is processed entirely by Apple. To grant Pro, our backend receives Apple's signed transaction record — from Apple (App Store Server Notifications V2) and from the app after a purchase or restore. We store these records as Apple signed them. They include:
- The product ID purchased (e.g.,
com.cpmtek.aquariumcoach.sub.monthly)
- Opaque transaction IDs
- Purchase, renewal, expiry, and refund dates
- For purchases made while signed in with Apple, the purchase-link token from §2.4, which ties the purchase to your account identifier. Purchases made without signing in carry no purchase-link token: the app sends the transaction to our backend, which files it under your anonymous account identifier.
- For subscription notifications, Apple's renewal information for the subscription
A subscription is credited to one account at a time. If you tap Restore Purchases on another install and the subscription is held by an anonymous account, it moves to the account on that install; this can happen at most once every 30 days per subscription. To enforce that limit we store the subscription's original transaction ID, whether it was purchased or shared through Family Sharing, when it last moved, and, for a subscription shared through Family Sharing, Apple's app-download transaction ID if the transaction includes one. That record contains no account identifier, is not removed when you delete your account, and has no automatic expiry. A subscription held by a Sign in with Apple account never moves this way; to use its scan allowance on another device, sign in with the same Apple ID there. Being credited to one account affects only the scan allowance: Pro's trend charts and PDF reports work on every device that uses the same App Store account.
We do NOT receive your credit card number, billing address, or any other payment information. Apple handles all of that.
2.8 What we do NOT collect
We never collect: your location, contacts, health/fitness data, browsing or search history, audio recordings, biometric data, financial account info, contacts, calendar events, photos other than ones you explicitly submit for scanning, advertising identifiers (IDFA), tracking IDs of any kind. We don't use any third-party analytics SDK that tracks you across other apps (no Google Analytics, no Facebook SDK, no Mixpanel, no Segment).
2.9 Anonymous account and Apple DeviceCheck
If you have not signed in, the app creates an anonymous account the first time you use a feature that needs our backend: opening a scan screen, buying or restoring Pro, or the app finding an active Pro purchase on your Apple ID (at launch, or when Apple reports one while the app is open).
- Its identifier is random and generated by our server. It is not derived from your Apple ID, your device, or any device identifier.
- The app keeps the anonymous session in this device's iOS Keychain (see §6). It is not synced to your other devices.
- We never ask an anonymous account for a name or email. Our backend keeps the records described in §2.4 for it.
To stop the free scans from being claimed over and over with new accounts on one device, we use Apple's DeviceCheck service:
- When the app creates an anonymous account, it sends our backend a short-lived token generated by Apple's DeviceCheck framework. Our backend passes it to Apple only to confirm that the request comes from a genuine Apple device running our app.
- Free scans are granted once per device per calendar month (months are counted in UTC). When an anonymous account that is not on Pro claims its monthly free scans, the app sends a new DeviceCheck token, and our backend uses it to read the two bits that Apple stores for your device and our developer account, plus the month they were last set. If this device has not claimed free scans this month, the account gets them and our backend sets the first bit and flips the second (Apple records the month). If the device has already claimed this month, the account gets no free scans until the next month; buying Pro and Restore Purchases still work.
- The first bit means "free scans claimed". The second bit means nothing: we flip it on every claim only so that each claim changes the stored bits.
- Apple does not give us a device identifier, and we do not store the DeviceCheck token. The bits are stored by Apple, not by us. Deleting your account does not clear them; they stop having any effect on free scans when the calendar month ends.
- Sign in with Apple accounts never make this claim, and DeviceCheck is not used for them.
3. Who else sees your data
3.1 Anthropic
Photos you submit for AI scanning are sent to Anthropic for analysis. Their privacy policy: https://www.anthropic.com/legal/privacy. We use Anthropic's API in standard mode — they may retain submissions briefly for abuse monitoring per their published policy but do NOT use submissions to train their models when accessed via the paid API.
3.2 Apple
Apple handles:
- Sign in with Apple authentication
- DeviceCheck, for anonymous accounts (see §2.9): Apple receives the DeviceCheck token the app generates and stores the two per-device bits
- App Store + In-App Purchase processing
- iCloud sync (if you've enabled it)
- App Store crash reports (if you've opted in)
Apple's privacy policy: https://www.apple.com/legal/privacy/
3.3 Cloudflare
Network traffic from your device to our backend passes through Cloudflare (we use Cloudflare Tunnel for network ingress). Your connection is encrypted with HTTPS up to Cloudflare's edge, where Cloudflare decrypts it to route the request through an encrypted tunnel to our server. Requests, including uploaded photos, therefore pass through Cloudflare's systems. Cloudflare may log connection metadata (IP address, timestamp, request size). Cloudflare's privacy policy: https://www.cloudflare.com/privacypolicy/
3.4 We never sell or share data with anyone else
We do NOT sell any data. We do NOT share data with advertisers, data brokers, marketing platforms, social media platforms, or any other third party not listed above.
4. Where your data lives
| Data | Storage location |
| Tank, livestock, equipment, reminders, test history, tank photos, scan thumbnails | Your device (SwiftData) + your private iCloud database (if enabled). NEVER on our backend. |
| Account identifier (anonymous, or Sign in with Apple if you sign in) | Our backend's Postgres database, hosted on cpmtek-controlled hardware |
| Name and email (only if you shared them) | Our backend's Postgres database, and your device's iOS Keychain |
| Account and usage records (§2.4) | Our backend's Postgres database |
| AI scan response text logs | Our backend's Postgres database, deleted once 30 days old |
| Pro entitlement records and subscription-move records (§2.7) | Our backend's Postgres database |
| DeviceCheck bits (§2.9) | Apple's servers (not ours) |
| Photo bytes during AI scanning | Memory only, while the analysis request runs (at most about 3 minutes). Then discarded. |
Our backend is currently hosted on a small Kubernetes cluster on cpmtek-managed hardware. As we scale, this may move to a managed cloud provider (AWS, GCP, or DigitalOcean). Your data remains within the United States and EU regions only.
5. How long we keep your data
| Type | Retention |
| On-device data (SwiftData) | Until you delete the app or tap Settings → Delete all local data |
| iCloud-synced data | Until deleted through the app's delete flows (see §7.2) or until you remove the app's data yourself in iOS Settings → [your name] → iCloud → Manage Account Storage. Deleting the app or signing out does NOT remove the iCloud copy. |
| AI scan response logs | 30 days, then deleted by a daily scheduled job |
| Account identifier (anonymous or Sign in with Apple), name/email if shared, account and usage records, Pro entitlement records | Until you delete your account (see §7.2). There is no automatic expiry, except for merged anonymous accounts (next row). |
| Anonymous account merged into a Sign in with Apple account | Deleted by a daily scheduled job 90 days after the merge, or together with the Apple account if you delete that account first (see §7.2). Its scan counts, purchases and scan logs moved to the Apple account at the merge. A purchase record filed under it after the merge counts for the Apple account and is moved to it before the anonymous record is deleted; anything else filed under it after the merge is deleted with it, or earlier under its own retention period. |
| Subscription-move records (§2.7) | No automatic expiry; not linked to an account |
| DeviceCheck bits (§2.9) | Held by Apple; we do not clear them, and they stop affecting free scans when the calendar month ends |
| Photo bytes | Never stored; held in memory only while the analysis request runs (at most about 3 minutes) |
6. Encryption and security
- All network traffic uses TLS 1.2 or higher (HTTPS).
- Authentication tokens are stored in iOS Keychain with
kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly — not synced to other devices, not backed up to iCloud.
- iCloud-synced data is encrypted by Apple in transit and on Apple's servers. With iCloud's standard data protection, Apple holds the encryption keys; see Apple's iCloud data security overview for what Advanced Data Protection changes.
- Our backend uses standard PostgreSQL access controls and is not exposed directly to the public internet (traffic enters via Cloudflare Tunnel).
- We use only Apple's standard cryptographic frameworks (CryptoKit, Keychain, URLSession TLS) — no proprietary or non-standard encryption.
We do not yet have a SOC 2 or ISO 27001 certification. This may change as we grow.
7. Your rights and choices
7.1 Access and portability
- View all your tank/test data inside the app at any time.
- Export a PDF report of any tank (a Pro feature): Settings → Export PDF report.
- Request a machine-readable copy of any backend data we hold about your account: email aquariumcoach@cpmtek.com. We respond within 30 days.
7.2 Deletion
- Delete local data: Settings → Delete all local data removes everything from this device immediately, record by record. If iCloud sync is on, those deletions also propagate to your iCloud private database and your other devices through Apple's sync system — timing is controlled by Apple, so allow for a delay before the copies disappear elsewhere.
- Delete your account (any account): Settings → Delete my account. This immediately deletes your backend account record (account identifier, name and email if shared, purchase-link token, Apple refresh token), your AI scan logs, your scan counts, the entitlement records stored under your account, and your signed-out session records. It also asks Apple to revoke the app's Sign in with Apple grant when we hold the token needed to do that, wipes the data on your device, and deletes the app's data zone in your iCloud private database. You can also email aquariumcoach@cpmtek.com with the subject "Delete my account" from the email associated with your Sign in with Apple; we action email requests within 30 days.
- What we keep after account deletion, and for how long: (1) a record of the account identifier and the time of deletion, used only to reject sign-in tokens issued before the deletion; it is deleted automatically once every token issued before the deletion has expired. Our longest-lived token is an anonymous account's 365-day sign-in session, so this record is kept for 366 days after every deletion, including for Sign in with Apple accounts (whose own tokens expire after 30 days). (2) The number of strip and tank-health scans you used in the month you deleted your account and, if you scanned on Pro that day, the number of scans you used that day, stored under a one-way keyed hash of your account identifier (not the identifier itself), so that deleting and re-creating an account does not reset the free monthly or Pro daily scan limit. They are deleted when you sign in again with the same Apple ID (the counts carry over to the new account; this cannot happen for an anonymous identifier, which is never issued again), or automatically after that month (for the monthly counts) or that day (for the daily count) ends. (3) Subscription-move records (§2.7), which contain no account identifier. (4) The DeviceCheck bits Apple stores for your device (§2.9), which we do not clear. (5) If you used the app anonymously before signing in with Apple, the merged anonymous record (§2.4) is deleted together with the Apple account, along with everything still recorded under it: the IDs of the anonymous account's sign-in sessions that were replaced or signed out, any purchase record that reached us while the merge was running (which counts for the Apple account), and, if a scan request had started before you signed in but reached the scan-allowance check only after the merge, that scan's count and AI response log. What remains of it is the record of the anonymous identifier and the merge time described in the next paragraph.
- If you sign in with Apple after using the app anonymously, your anonymous account is merged into your Apple account: its scan counts, purchases and scan logs move to it, the anonymous identifier stops working immediately, and the anonymous record is deleted 90 days later, or together with your Apple account if you delete it before then. A record of the anonymous identifier and the merge time is kept for 366 days, for the same reason as (1) above.
- Anonymous accounts hold no name or email, so we have no way to find yours from an email request. If the app loses its anonymous session (for example when the device is erased or replaced, or after 365 days without using the app's online features), the old anonymous account stays on our backend with no automatic expiry. To remove it, use Settings → Delete my account before that happens.
- You can also remove the app's iCloud data yourself at any time: iOS Settings → [your name] → iCloud → Manage Account Storage → Aquarium Coach → Delete Data.
- Note: deleting the app from your device does NOT delete the iCloud copy or your backend account — use the in-app flows above. Apple retains some IAP transaction records for tax purposes regardless of our deletion, per Apple's policies.
7.3 Opt out of analytics
iOS Settings → Privacy & Security → Analytics & Improvements → Share with App Developers → toggle OFF. We will receive no diagnostics from your device.
7.4 Use the app without an account
You can use the app without ever signing in. Your tank data stays on your device + your private iCloud (if your device is signed into iCloud — sync is tied to your device's iCloud account, not to Sign in with Apple). AI scans and purchases use the anonymous account described in §2.9. Without signing in:
- You can use AI scanning (strip scans and tank-health scans) and buy Pro.
- Each calendar month, only the first anonymous account on a device to claim the free scans gets them (§2.9).
- Pro's scan allowance is credited to one account at a time, so without signing in it applies on one device at a time; AI scans on your other devices use their free monthly scans (§2.9). Pro's trend charts and PDF reports work on every device that uses the same App Store account. Restore Purchases on another device moves a subscription held by an anonymous account to that device, at most once every 30 days (§2.7). To use Pro's scan allowance on several devices, sign in with Apple on each of them.
7.5 GDPR / CCPA / EU-UK rights
If you're in the EU, UK, or California, you have additional rights under GDPR / UK GDPR / CCPA respectively, including:
- Right to access, rectify, delete, restrict, or object to processing
- Right to data portability
- Right to lodge a complaint with your local data protection authority
To exercise any of these, email aquariumcoach@cpmtek.com. Our legal basis for processing is "performance of a contract" (delivering the app you've installed) for app data, and "legitimate interest" (running the app's anti-abuse systems) for diagnostics.
8. Children
Aquarium Coach is rated 9+ in the App Store. It is not directed at children under 13. We do NOT knowingly collect personal data from children under 13. If you are a parent or guardian and believe we have collected personal data from a child under 13, email aquariumcoach@cpmtek.com and we will delete it.
9. Changes to this Policy
We may update this Privacy Policy as the app evolves. When we do:
- We update the "Effective date" at the top.
- Material changes (new data categories collected, new third-party recipients) trigger an in-app banner at next launch.
Questions about this policy or about data we hold about you:
aquariumcoach@cpmtek.com
We are not currently a registered legal entity. The owner of the app is the same person who controls the cpmtek.com domain. Mailing address available on request.
11. Required Apple App Store disclosures
Per Apple's App Privacy nutrition labels (visible on the App Store listing):
| Data collected | Linked to your identity | Used to track you | Purpose |
| Photos | Yes | No | App Functionality (sent for AI analysis; the image is never stored, the AI's text response is kept 30 days against your account) |
| User ID | Yes | No | App Functionality (account identifier: anonymous, or Sign in with Apple if you sign in) |
| Email Address | Yes | No | App Functionality (only if you share it; includes Hide-My-Email relay) |
| Name | Yes | No | App Functionality (only if you share it; shown in Settings) |
| (Crash/Performance) | — | — | Not collected by this app. Apple's diagnostics dashboard may show us crash logs from users who've opted in to "Share with App Developers". |
Everything else is Not Collected. (Email and Name are collected only when you choose to share them during Sign in with Apple; this table matches the app's PrivacyInfo.xcprivacy manifest.)