한국어 · 日本語 · 繁體中文
Melatonin Privacy Policy
Last updated: November 30, 2026
Melatonin (“the app”) is your own health AI agent that looks after your sleep, lifting and meals for you.
It reads your sleep data from Apple Health to calculate a sleep score, helps you block apps before bed,
keeps a lifting log and a food log with you, and lets you hand these jobs off in an AI chat.
This policy explains what information the app handles and why.
The short version
- Sleep scores and locks are calculated on your device. Raw Apple Health data never leaves your iPhone.
-
You sign in when you first start the app. Your account keeps your account ID, the
sleep sessions measured by your iPhone alone, lock settings, your lifting log, food log and AI chats
on our server, so your history survives a new phone.
-
When you use AI chat, meal analysis or photo checks, what you write, the photos you send and a summary of the
records needed for the answer (recent sleep times and scores, lifting log, meal goals and body details, etc.) go through our
server to Google’s AI (Gemini). See AI chat and meal analysis.
-
We send usage events (like which screens you open, “finished onboarding” or “saw the paywall”)
so we can improve the app. No chats, sleep data, food logs or screen content, and you can turn it off in Me. See
Usage analytics.
- One optional, non-personalized ad — only when a free user chooses to unlock (Ads). No tracking across other apps or websites. We never sell your data.
What the app reads
-
Sleep data — Sleep stages and times from Apple Health, only after you
allow it. You can turn this off anytime in the Health app. The raw Health data is never
sent to our server. If you use AI chat, your bedtimes, wake times and sleep scores for the last 7 days,
calculated from it, go along to help the AI answer (see AI chat and meal analysis).
-
Step count — Steps from Apple Health, used to estimate past sleep
(“hours with no steps overnight”) if you don’t have sleep records yet. Stays on your device.
-
Time in daylight — If you have an Apple Watch, the app reads “Time in Daylight” from Apple Health
for your sunlight log. The raw data is not sent to our server.
-
Motion — If you allow it, the app reads your iPhone’s motion sensor
history to measure sleep without a watch. Raw sensor values are not stored; only the
resulting sleep sessions (when each stage started and ended) are kept.
-
Camera — check photos are never saved
When you use Sunlight Lock, the back camera looks for a few seconds at
how bright it is and whether it sees sky or indoors, with a live preview
so you can see where you’re pointing. Each frame is turned into a few numbers on your iPhone (brightness,
color temperature, sky / outdoor / indoor scores). Scene detection uses Apple’s on-device frameworks.
To unlock the Weights Lock, you photograph weight equipment (plates, a barbell) the same way.
To catch skies shot through a window or photos of a screen, when you’re signed in the app may send
one check photo, shrunk to 768px on the long side, through our server to Google’s AI (Gemini) for a second look.
Only a verdict (outdoors, through glass, a screen, etc.) comes back, and our server does not save the photo. To tell a real sky from a window, the app
also uses the motion sensor (orientation) to check that you turned around; this is not
stored either. Sunlight Lock needs the camera — without it, you can’t turn it on, because
we never set a lock you can’t unlock. Photos you take or pick in chat or the food log are handled as described in
AI chat and meal analysis.
-
Location — accuracy and weather only, never stored
During the same check, the app looks at how accurate your GPS fix is.
Under open sky it’s within a few meters; indoors it spreads to tens of meters. Your
coordinates are used once to get local cloud cover from Apple Weather
(WeatherKit), then discarded. Location is not stored, not sent to our server or
analytics, and not read when you aren’t using the app (“While Using” only). Sunrise and
sunset times come from the city you choose in Settings, not your location.
-
Blocked apps — When you pick apps to block, Apple’s Screen Time
(Family Controls) gives the app opaque tokens. We can’t see which apps you
picked. The tokens stay on your device.
-
Blocking history — When blocks started and ended, and when you tried
to open a blocked app, are recorded on your device to show things like “3 attempts last night.”
-
Microphone and dictation — If you dictate in chat, the app turns what the microphone hears into text.
For accuracy it uses Apple’s speech recognition (Apple’s servers), and on-device recognition when you’re offline.
No recordings are kept. The text is treated like anything you type in chat.
-
Contacts — If you open your contacts to invite a friend, the app reads names and phone numbers so you can
text an invite code to the person you pick. Contacts are never sent to our server.
-
Calendar — If you turn it on, the app creates a “Melatonin Locks” calendar, adds your night, sunlight and
Weights Lock times to it, and updates it when they change. It doesn’t change events in your other calendars.
-
Your onboarding answers — Your name, birth date (kept only as your age), goals, and phone time
before bed. Used only for in-app copy and math (like how many years you’d spend on your
phone) and stored only on your device. Never sent to our server or analytics.
Sign in
On iPhone, you sign in with Sign in with Apple when you first start the app, because AI chat,
meal analysis, backups and friend invites are tied to your account. When you sign in:
-
We receive Apple’s user identifier and, the first time only, your name and email. If you
choose “Hide My Email,” we only get Apple’s relay address.
-
These are stored in your device’s Keychain and on our server, only to
recognize your account and restore your history on a new device.
-
Delete Account in the app erases everything on our server and on your
device right away.
-
To disconnect on Apple’s side: Settings → your name → Sign-In & Security →
Sign in with Apple.
What we store on our server
Only if you sign in. Our server runs on Amazon Web Services in the
Seoul, South Korea region, so your data is transferred to and stored in
South Korea. If you don’t sign in, nothing is stored on our server except the one install note below.
On first install (signed in or not): once you finish the intro, the app sends a random install ID
it generated, plus device model, app version, language, country and time zone. We use it only to count new users.
No name, sleep data or location.
- Account ID and name / email (if provided)
-
Sleep sessions measured by your iPhone — iOS deletes motion history
after 3 days. Without a backup those nights would be lost for good, so we keep them.
- Blocking settings (bedtime, days, strength)
-
Your AI chats — what you wrote, the AI’s replies, and a memory note summarizing earlier chats.
For photos or files you attached, only a marker like “2 photos” is kept, not the content. This lets you pick up
your chats after reinstalling or on a new phone. See AI chat and meal analysis.
- Lifting log and routines — workouts you did (exercise, weight, reps, sets) and the routines and program you set up
-
Food log — each meal’s name, calories, carbs, protein, fat and items, meals you typed, favorites, and the
body details you enter for custom calorie goals (sex, age, height, weight, goal weight, activity level, pace).
Food photos are not stored (they stay on your phone).
-
Notification address and Live Activities — your device’s push token, plus the next 48 hours of Lock Screen card
timings and their tokens, so the card (calories left, workout progress, night lock) can switch at the right time even if you don’t
open the app. The card schedule is deleted automatically if you don’t open the app for 3 days.
- AI usage — how much you used each day, to count daily and monthly limits. Deleted automatically after 100 days.
We never store: Apple Health data, step count, blocking history, your list
of blocked apps, raw sensor values, morning sunlight, location, or contacts. Food and check photos are used only for analysis and not saved.
Bug reports: if you report a problem in Me, your text and up to 3 attached images are emailed to us,
with your name, email and account ID if you’re signed in. Images are kept on our server for 90 days, then deleted automatically.
AI chat and meal analysis (Google Gemini)
On the iPhone app, the AI agent (chat, AI lifting log, weekly report card), meal analysis, and the second look at check
photos go from the app → our server (AWS Seoul) → Google’s Gemini API. The app holds no AI key, and only signed-in users
can use these features. Your account ID and email are never sent to Google.
-
What goes to the AI in chat — what you type or dictate, attached photos and PDF files, today’s messages and a memory note
of earlier chats, and a “today’s record” the app adds so the answer fits you: bedtimes, wake times, sleep scores and how many
times you opened locked apps over the last 7 days; recent lifting logs, routine and how you feel today; meal goals, body details
(sex, age, height, weight, goals) and what you ate yesterday and today; and your night, sunlight and Weights Lock settings. Raw Apple Health data,
steps, blocked apps, location and contacts are not included.
-
Web search — if you ask about things outside the app (products, prices, news, etc.), the AI may look them up with Google Search.
The AI writes the search terms based on your conversation.
-
Meal analysis — send a photo of food or a packaged product (shrunk to 768px on the long side) or type what you ate, and you get back
the food name with estimated calories, carbs, protein and fat. Food photos are not stored on our server (they stay on your phone).
If you save the result as a meal, it’s kept in your food log above. The food search list (Korea’s MFDS food nutrition database)
is built into the app, so your search terms never go to our server.
-
Photo checks — as described under “Camera” above, one sky or weight-equipment photo is used only for the verdict and not saved.
-
What stays on our server — your messages and memory note are kept while your account exists and deleted right away
when you delete your account. When a day’s chat gets long, the earlier part is summarized; that summary is deleted automatically after 3 days.
-
Anonymous question pool — to build the “suggestions” row, we keep what people asked the AI, not linked to any account,
up to 120 characters each, for 14 days. The AI groups similar questions from many people into general topics and is instructed to leave out
personal details such as names, companies, places and medical conditions. We can’t tell who asked what.
-
We never sell your chats or food photos or use them for ads. AI answers can be wrong and are not a medical diagnosis.
-
International transfer — Recipient: Google LLC (USA). Countries: the United States and other countries where Google processes data.
When and how: sent over the network when you use an AI feature. Purpose: writing replies, meal analysis, judging check photos.
Retention: under Google’s Gemini API terms (ai.google.dev/gemini-api/terms).
-
If you’d rather not, you don’t have to use AI chat, photo meal analysis or photo checks. You can log meals by entering numbers yourself.
Usage analytics (PostHog)
To see where people get stuck, the app sends the fact that a few things happened to our
analytics provider, PostHog.
-
What we send — onboarding started / finished, paywall shown / closed
(and which screen opened it), purchase attempted / completed (and which plan), onboarding steps, which tabs and screens you open,
whether you granted a permission, that you sent an AI chat message and how many you have left (not the content),
that you saved a lifting log and how many exercises and sets, using suggestions, invites or tickets, whether
you use an Apple Watch, wake-up time, a time zone change (travel), turning Sunlight Lock on or off, and whether
a sky check passed, failed, was postponed, or skipped, with how many seconds it took and the numbers used to judge it
(brightness, sky / outdoor / indoor scores).
Device model, iOS version, app version, language, and the region in your device settings are attached.
-
How you’re identified — a random ID created when you install the app.
If you sign in, it’s linked to a one-way hash (SHA-256) of your account
ID. A random buyer ID the app creates to match purchases is attached too. Your Apple identifier, name, and email are never sent.
-
What we don’t send — sleep data or scores, steps, sunlight amounts,
blocked apps, screen content, AI chats, food logs or body details, photos, or location.
Session replay and autocapture are off. IP addresses are not stored and location is not inferred.
-
Star stats (our server) — When you unlock a star in the star
gallery, we send only which star it was, with nothing that identifies
you (no account, device, or random ID). It’s used only to show “Owned by X%.”
-
Total sleep counter (our website) — The total hours of
phone-measured nights backed up by signed-in users is added into
one number shown on our website. It never reveals whose nights or when.
-
PostHog, Inc. is based in the United States (privacy@posthog.com). Events are kept for
1 year. To opt out, turn off “Help improve Melatonin” in Me → Account (you can also choose during onboarding);
nothing is sent from then on. To have past events deleted, email us below — every feature keeps working.
Ads (Google AdMob)
On the iPhone app, free users in Korea, the US and Japan can watch one ad to unlock a lock
only when they choose to unlock it. There are no ads anywhere else (Home, Asleep, the paywall,
onboarding), and Pro unlocks without ads. If you close the ad early, the lock stays on.
-
Not personalized — we request non-personalized ads only. We don’t show the tracking (ATT)
prompt, don’t use the advertising identifier (IDFA), and don’t combine your data with other companies’ apps
or websites for advertising.
-
What Google receives — to show ads, prevent fraud and measure ads, Google’s ads SDK receives your
IP address (coarse location), device and app info (device type, OS, app version, an in-app device identifier),
ad views and taps, and crash and performance data. This isn’t linked to your account.
-
Never sent — sleep records and scores, Apple Health data, the apps you block, camera or
location readings, or account details.
-
Google LLC (USA) processes this under its own policy:
policies.google.com/technologies/ads.
What the app doesn’t do
- Send raw Apple Health data to any server (AI chat gets only the summary numbers described above).
- Show personalized ads or use the advertising identifier (IDFA). The only ad is the one above.
- Track you across other apps or websites. PostHog (above) is our only analytics.
-
Sell or share your personal information, or use Health data, chats or food photos for advertising.
Our only third-party processors are PostHog for the analytics above, Google for the ad above,
Google (Gemini) for AI processing, and Apple for dictation.
Keeping and deleting your data
Data the app creates (sleep scores, blocking history, settings, lifting log, food log and food photos, chats) lives on your device and is
removed when you delete the app. Your original sleep data stays in Apple
Health, where you can manage or delete it.
Server data is kept while your account exists, so your history is still
there on a new phone. Deleting the app alone does not delete server data —
delete your account first if you want it gone.
Delete your account
- In the app: Me → Account → Delete Account. Deleted immediately.
-
Without the app: email contact@romancephysical.com with
the email of the Apple account you signed in with. We’ll verify it’s you, delete
everything within 7 days, and reply.
What gets deleted: account ID, name, email, stored sleep sessions, blocking settings, AI chats and memory note,
lifting log and routines, food log and body details, notification address, AI usage, and subscription records.
(Payment records are held by Apple, not us.) The Lock Screen card schedule is deleted automatically within 3 days if you
don’t open the app, bug-report images after 90 days, and the anonymous question pool above after 14 days without ever being linked to you.
Your rights
Wherever you live — including California (CCPA/CPRA) and the EU/UK (GDPR) — you can ask us
to access, correct, export, or delete your personal information, or object to analytics.
Email us below and we’ll respond within 30 days. We won’t treat you differently for asking.
Subscriptions
In-app purchases are processed by Apple. We never receive your card number or other
payment details.
If you request a refund (only with your consent)
After you buy Pro on iPhone, the app asks once: "If you ask for a refund, can we tell Apple?"
Only if you choose "That's OK", when you request a refund from Apple our server answers the five things Apple asks:
that you consented, whether Pro worked after purchase, whether you could try the app for free before buying,
(for gifts) the share of the gift period used, and our preference for a prorated refund.
We never send your name, sleep data, or how you use the app. To do this we store the Apple transaction ID of that purchase and your choice.
Apple uses this only for refund decisions and doesn't share it with third parties for their marketing. You can turn it off anytime in
Me > "Share usage for refund reviews". To access or delete what Apple holds, visit privacy.apple.com.
Children
The app is not intended for children under 13, and we don’t knowingly collect personal
information from them. If you believe a child has given us information, email us and we’ll delete it.
Changes
If this policy changes, we’ll update this page and the date at the top.
Contact
Melatonin (developer: 낭만피지컬 / Nangman Physical)
contact@romancephysical.com