Skip to the content.

Privacy Policy — Rock & Mineral ID

Effective date: May 20, 2026 Developer: Mustapha Marir — solo developer based in Morocco Contact: marirfam@gmail.com App package: com.marirfam.rockmineralid

This document describes what Rock & Mineral ID collects, why, where it goes, and what your rights are. Plain English first; legal precision underneath.


1. What Rock & Mineral ID does NOT collect

We lead with the things we deliberately don’t do, because they’re the most important.


2. What Rock & Mineral ID DOES process

a) The image you capture during a scan

When you tap the scan button:

  1. The image is compressed on your phone (target ~3.5 MB or smaller).
  2. It is sent over HTTPS to our identification proxy at https://rock-mineral-id-worker.marirfam.workers.dev (a Cloudflare Worker we operate).
  3. The proxy forwards the image to one of two AI providers — Google Gemini 2.5 Flash-Lite (primary) and Anthropic Claude Haiku 4.5 (low-confidence fallback) — for identification.
  4. The identification result (species name, classification, formula, hardness, etc.) returns to your phone.

The image is not stored. Neither our proxy nor either AI provider retains it after the request completes. The proxy logs only request metadata (timestamp, request ID, latency, anonymous identification result for debugging) — never the image bytes.

Anthropic’s data retention: Anthropic’s enterprise/API terms specify that API content is not used to train models and is retained only as required for operational purposes. See anthropic.com/legal.

Google Gemini’s data handling: when accessed via paid API (which is how we call it), inputs are not used to improve Google products. See ai.google.dev/gemini-api/terms.

Cloudflare’s data handling: the proxy runs on Cloudflare Workers and does not retain request bodies after responding. See cloudflare.com/privacypolicy.

b) Play Integrity attestation

When you scan a specimen, your phone generates a Play Integrity token via the Google Play Integrity SDK. We send this token to our proxy alongside the image. The proxy verifies the token to confirm your app installation is genuine (anti-abuse). The token contains no personal information about you.

c) Anonymous rate-limit identifier

Our proxy rate-limits requests by hashing the Play Integrity attestation token. We never store the raw token, your device ID, or any persistent identifier across sessions.

d) Crash + error reports (Sentry)

The app uses Sentry to capture crashes and unhandled exceptions. Sentry receives:

Sentry does not receive your scan history, your saved rocks, your name, or any other personal info. See sentry.io/privacy.

e) Advertising (AdMob)

Rock & Mineral ID is supported by ads from Google AdMob.

Google’s data handling for AdMob: policies.google.com/technologies/ads.

f) Firebase Remote Config

We use Firebase Remote Config to toggle features without app updates (e.g., adjust ad frequency in an emergency, swap ad-unit IDs). Firebase Remote Config sees your install ID, app version, and device model, but no personal data.

Firebase data handling: firebase.google.com/support/privacy.


3. Children

Rock & Mineral ID is rated for general audiences. We do not knowingly collect data from children under 13 (under 16 in the EU) and we comply with COPPA / GDPR’s child-data provisions. The app is appropriate for any age.


4. Your rights

Because we don’t store personally identifying data, most data-rights requests don’t apply — there’s nothing under your name to delete or export. That said:


Data is processed by:

We rely on the EU-US Data Privacy Framework or Standard Contractual Clauses for transfers from EEA users.


6. Changes to this policy

If we materially change what data we collect or how it’s used, we’ll bump the “Effective date” above and surface a notice in the app on the next launch. If we ever add account login, cloud sync, or any new third-party processor, that will trigger an update.


7. Contact

For privacy questions or data-rights requests:

This is a solo-developer app — replies come from Mustapha himself, usually within a few days.


Rock & Mineral ID is built and supported by one developer. Thank you for using the app.