This guide will help you host the Medify privacy policy on GitHub Pages to get a public URL for your Play Store listing.
Go to Your Repository Settings
Enable GitHub Pages
Wait for Deployment
https://sumit-piston.github.io/medify/
”Access Your Privacy Policy
https://sumit-piston.github.io/medify/PRIVACY_POLICY
https://sumit-piston.github.io/medify/PRIVACY_POLICY.html
Verify It’s Live
If you want a nicer-looking privacy policy page:
index.html
file in a docs
folder:mkdir -p docs
docs/privacy-policy.html
:<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Medify - Privacy Policy</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background-color: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1 {
color: #2196f3;
border-bottom: 3px solid #2196f3;
padding-bottom: 10px;
}
h2 {
color: #1976d2;
margin-top: 30px;
}
h3 {
color: #0d47a1;
}
.highlight {
background-color: #e3f2fd;
padding: 15px;
border-left: 4px solid #2196f3;
margin: 20px 0;
}
.important {
background-color: #fff3e0;
padding: 15px;
border-left: 4px solid #ff9800;
margin: 20px 0;
}
ul {
list-style-type: none;
padding-left: 0;
}
ul li:before {
content: "✓ ";
color: #4caf50;
font-weight: bold;
margin-right: 5px;
}
.no-collect li:before {
content: "❌ ";
}
a {
color: #2196f3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #ddd;
text-align: center;
color: #666;
}
</style>
</head>
<body>
<div class="container">
<!-- Copy the content from PRIVACY_POLICY.md here, formatted as HTML -->
<!-- Or use a Markdown-to-HTML converter -->
<h1>Privacy Policy for Medify</h1>
<p><strong>Last Updated: October 16, 2025</strong></p>
<div class="highlight">
<strong>Important:</strong> Medify operates on a privacy-first
principle. All your data is stored locally on your device. We do not
collect, transmit, or store any of your personal information on external
servers.
</div>
<!-- Continue with rest of the content... -->
<!-- You can use a tool like https://markdowntohtml.com/ to convert PRIVACY_POLICY.md -->
<div class="footer">
<p>© 2025 Medify. All rights reserved.</p>
<p>
<a href="https://github.com/Sumit-Piston/medify">GitHub Repository</a>
</p>
</div>
</div>
</body>
</html>
Enable GitHub Pages with docs folder:
Your URL will be:
https://sumit-piston.github.io/medify/privacy-policy.html
GitHub Pages can render Markdown automatically:
Enable GitHub Pages (main branch, root)
Access your privacy policy at:
https://sumit-piston.github.io/medify/PRIVACY_POLICY
Add this to your Play Store listing:
Privacy Policy: https://sumit-piston.github.io/medify/PRIVACY_POLICY
For Play Store submission, I recommend Option 1 (simplest):
https://sumit-piston.github.io/medify/PRIVACY_POLICY
After enabling GitHub Pages:
Whenever you need to update the privacy policy:
PRIVACY_POLICY.md
in your repositorygit add PRIVACY_POLICY.md
git commit -m "docs: Update privacy policy"
git push origin main
If you want a custom domain like medify.yourdomain.com
:
CNAME
file to your repository:
medify.yourdomain.com
sumit-piston.github.io
medify.yourdomain.com
# Check your current repository
git remote -v
# Create docs folder for Option 2
mkdir -p docs
# Push privacy policy updates
git add PRIVACY_POLICY.md
git commit -m "docs: Update privacy policy"
git push origin main
# Check GitHub Pages status
# Visit: https://github.com/Sumit-Piston/medify/settings/pages
For Google Play Store, you need:
Your privacy policy URL will be:
https://sumit-piston.github.io/medify/PRIVACY_POLICY
Add this URL to:
settings_page.dart
)PRIVACY_POLICY.md
(case-sensitive).html
extension to the URLhttps://sumit-piston.github.io/medify/PRIVACY_POLICY
Support: If you encounter issues, check the GitHub Pages documentation