-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
140 lines (121 loc) · 8.59 KB
/
index.html
File metadata and controls
140 lines (121 loc) · 8.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DreamRank – Privacy Policy</title>
<style>
:root {
--bg: #0b0c10;
--card: #151723;
--text: #e8ecf1;
--muted: #9aa3ad;
--accent: #7c5cff;
--link: #a68bff;
}
html, body { background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin: 0; }
.wrap { max-width: 880px; margin: 0 auto; padding: 40px 20px; }
header { margin-bottom: 24px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 8px; }
.muted { color: var(--muted); }
.card { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
h2 { margin-top: 32px; font-size: 1.35rem; }
h3 { margin-top: 24px; font-size: 1.05rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 20px; }
code { background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 6px; }
.pill { display: inline-block; background: rgba(124,92,255,.18); color: #e9e5ff; padding: 4px 10px; border-radius: 999px; font-size: .85rem; margin-left: 8px; vertical-align: middle; }
footer { margin-top: 32px; color: var(--muted); font-size: .9rem; }
</style>
</head>
<body>
<div class="wrap">
<header>
<h1>DreamRank <span class="pill">Privacy Policy</span></h1>
<div class="muted">Effective date: 2025-10-15</div>
</header>
<div class="card">
<p>DreamRank (“we”, “our”, “us” ) is a wellness app that helps you build healthy sleep habits through quests and social challenges. We respect your privacy and design our product with security and transparency in mind. This Privacy Policy explains what data we collect, how we use it, and your rights.</p>
<h2>1) Key Points at a Glance</h2>
<ul>
<li>We use Apple’s native frameworks: <strong>HealthKit</strong> (read-only) and <strong>CloudKit</strong>.</li>
<li><strong>Health data is never used for advertising, sold, or shared with third parties</strong> for marketing purposes.</li>
<li>Health data access is <strong>optional</strong> and requires your explicit permission in the Health app. You can revoke it anytime.</li>
<li>Profile and challenge data (e.g., username, score, rooms/leaderboards) are stored in your <strong>iCloud</strong> via CloudKit.</li>
<li>You may delete your account and CloudKit data from inside the app or by contacting us.</li>
</ul>
<h2>2) Data We Collect & Why</h2>
<h3>2.1 Health Data (via HealthKit – read only)</h3>
<p>With your consent, we read specific data from Apple Health to power app features and insights:</p>
<ul>
<li><em>Sleep data</em>: sleep stages and durations (e.g., REM, Deep, Core), sleep sessions.</li>
<li><em>Vitals</em>: heart rate, heart rate variability (HRV), respiratory rate, and related metrics you authorize.</li>
<li><em>Health Records</em> (if available on your device and you authorize access): used only to compute relevant summaries for you in-app; we do not store raw documents or share them.</li>
</ul>
<p><strong>Purpose:</strong> to display insights, calculate progress toward quests/challenges, and improve your personal sleep trends. We do not use HealthKit data for advertising, data brokerage, or profiling beyond wellness features.</p>
<h3>2.2 Account & Authentication (via CloudKit)</h3>
<p>We use <strong>CloudKit</strong> for sign-in with your Apple ID and to store your app data in your private iCloud database. We do not receive your Apple ID password. Apple acts as an identity provider.</p>
<h3>2.3 Profile & Social Data (stored in CloudKit)</h3>
<ul>
<li><em>Profile</em>: username, display name, avatar (optional).</li>
<li><em>Gameplay</em>: user score, streaks, achievements, challenge membership, and progress.</li>
<li><em>Leaderboards/Rooms</em>: challenge name, room code, participants’ usernames and scores visible to members.</li>
</ul>
<p><strong>Purpose:</strong> to enable core features such as rooms, leaderboards, and syncing your progress across devices.</p>
<h3>2.4 App Usage & Diagnostics</h3>
<p>With your consent, we may collect minimal, privacy-preserving diagnostics (e.g., crash logs) to improve stability. These may be provided by Apple’s services (e.g., App Analytics). You can manage sharing in iOS Settings > Privacy.</p>
<h2>3) How We Process Your Data</h2>
<ul>
<li><strong>On‑device first:</strong> computations happen on your device where possible.</li>
<li><strong>Cloud storage:</strong> profile and challenge data are stored in your iCloud (CloudKit). Health data is read when needed and not exported to third‑party servers.</li>
<li><strong>No ads, no sale of data.</strong> We do not rent or sell personal data. We do not use HealthKit data for marketing or advertising.</li>
</ul>
<h2>4) Permissions & Your Choices</h2>
<ul>
<li><strong>Health permissions:</strong> granted/managed in Apple’s Health app. You can revoke access at any time.</li>
<li><strong>Notifications:</strong> optional; used for gentle reminders about quests/challenges.</li>
<li><strong>Visibility settings:</strong> in leaderboards/rooms, your username and score are visible to members. You can leave a challenge at any time.</li>
</ul>
<h2>5) Data Retention & Deletion</h2>
<ul>
<li>You may delete your account from within the app or by contacting us. We will remove your CloudKit records (profile, score, challenge participation).</li>
<li>Deleting your account <strong>does not delete</strong> any data stored in Apple Health; manage Health data directly in the Health app.</li>
<li>Backups retained by Apple as part of iCloud may persist for a limited period per Apple’s policies.</li>
</ul>
<h2>6) Security</h2>
<ul>
<li>Transport security via HTTPS/TLS.</li>
<li>CloudKit provides encryption in transit and at rest; access is limited to your iCloud container.</li>
<li>Local access protected by your device’s passcode, Face ID, or Touch ID.</li>
</ul>
<h2>7) Children’s Privacy</h2>
<p>DreamRank is not directed to children under 13 (or the minimum age required in your region). We do not knowingly collect personal data from children. If you believe a child has provided data, please contact us to request deletion.</p>
<h2>8) International Transfers</h2>
<p>CloudKit and iCloud are operated by Apple. Data location and transfer are subject to Apple’s infrastructure and your iCloud account region.</p>
<h2>9) Legal Bases (EEA/UK)</h2>
<ul>
<li><strong>Consent:</strong> HealthKit data access and processing.</li>
<li><strong>Contract:</strong> to provide the app’s core features you request (authentication, syncing, leaderboards).</li>
<li><strong>Legitimate interests:</strong> to secure, maintain, and improve the app (e.g., fraud prevention, diagnostics).</li>
</ul>
<h2>10) Your Rights</h2>
<p>Depending on your jurisdiction, you may have rights to access, correct, export, or delete your data, and to withdraw consent. Use in‑app controls where available or contact us.</p>
<h2>11) Third‑Party Sharing</h2>
<p>We do not share personal data with third parties except:</p>
<ul>
<li>with your <strong>explicit direction</strong> (e.g., sharing to a room/leaderboard you join),</li>
<li>with service providers acting on our behalf under contract (if any, with no right to use data beyond our instructions), or</li>
<li>to comply with legal obligations or protect safety, rights, or property.</li>
</ul>
<h2>12) Changes to This Policy</h2>
<p>We may update this Policy from time to time. We will post the revised version in‑app and update the effective date above.</p>
<h2>13) Contact</h2>
<p>Questions or requests? Contact us at <a href="mailto:support@dreamrank.app">support@dreamrank.app</a>. If you prefer, replace this with your actual support email.</p>
</div>
<footer>
<p>HealthKit statement: DreamRank uses HealthKit only to read data you authorize for wellness purposes. Health data is not used for advertising or sold to data brokers. You can manage permissions anytime in the Health app.</p>
</footer>
</div>
</body>
</html>