#Introduction

Sleep Forest ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our mobile application Sleep Forest (the "App"). Please read this privacy policy carefully. If you do not agree with the terms of this privacy policy, please do not access the App.

## Information We Collect

### Personal Information
We may collect personally identifiable information that you voluntarily provide when you:
- Create an account
- Use sleep tracking features
- Contact us for support

This information may include:
- Email address
- Name (optional)
- Profile information
- Sleep preferences and goals

### Sleep and Health Data
The App collects and processes:
- Sleep duration and quality metrics
- Sleep/wake times
- Movement data during sleep (via device sensors)
- Sound levels during sleep
- Sleep patterns and trends
- Daily activity completion data
- Bedtime routine preferences

### Device Information
We automatically collect certain information about your device:
- Device type and model
- Operating system version
- Unique device identifiers
- Mobile network information
- Time zone settings

### Usage Data
We collect information about your interaction with the App:
- Features used
- Pages/screens viewed
- Time spent in the App
- Crash reports and performance data
- App configuration preferences

## How We Use Your Information

We use the collected information to:

### Provide Core Functionality
- Track and analyze your sleep patterns
- Generate sleep quality scores and insights
- Provide personalized sleep recommendations
- Create and manage your forest growth visualization
- Send smart alarm and bedtime reminders

### Improve User Experience
- Personalize content and features
- Remember your preferences
- Provide customer support
- Debug and improve App performance

### Analytics and Development
- Analyze usage patterns to improve the App
- Develop new features
- Conduct research on sleep patterns (anonymized)
- Monitor and prevent technical issues

## Data Storage and Security

### Local Storage
Most of your data is stored locally on your device using:
- SQLite database for sleep tracking data
- AsyncStorage for preferences
- Secure storage (Expo SecureStore) for sensitive information

### Cloud Storage
If you create an account, certain data may be synced to our servers via Supabase for:
- Account authentication
- Data backup and synchronization
- Cross-device access

### Security Measures
We implement appropriate technical and organizational measures:
- Encryption of sensitive data
- Secure HTTPS connections
- Regular security audits
- Limited access to personal information

## Third-Party Services

The App uses third-party services that may collect information:

### Supabase
- For authentication and data synchronization
- [Supabase Privacy Policy](<https://supabase.com/privacy>)

### Google Sign-In (Optional)
- For authentication convenience
- [Google Privacy Policy](<https://policies.google.com/privacy>)

### Expo
- For app infrastructure and updates
- [Expo Privacy Policy](<https://expo.io/privacy>)

## Data Sharing and Disclosure

We do not sell, trade, or rent your personal information. We may share information only in these circumstances:

- **With your consent**: When you explicitly agree to share
- **Service providers**: With trusted third parties who assist in operating the App
- **Legal requirements**: If required by law or to protect rights and safety
- **Business transfers**: In connection with a merger or acquisition
- **Anonymized data**: Aggregated, non-identifiable data for research

## Your Rights and Choices

### Access and Control
You have the right to:
- Access your personal information
- Correct inaccurate data
- Delete your account and associated data
- Export your sleep data
- Opt-out of certain data collection

### Data Deletion
To delete your data:
1. Go to Settings in the App
2. Select "Delete Account" or "Clear All Data"
3. Confirm your choice

Local data can be deleted immediately. Cloud-stored data will be deleted within 30 days.

### Opt-Out Options
You can:
- Disable cloud synchronization
- Use the App without creating an account
- Disable analytics collection in settings
- Revoke permissions (notifications, sensors)

## Children's Privacy

The App is not intended for children under 13. We do not knowingly collect personal information from children under 13. If you believe we have collected information from a child under 13, please contact us immediately.

## International Data Transfers

Your information may be transferred to and processed in countries other than your country of residence. These countries may have different data protection laws. By using the App, you consent to such transfers.

## California Privacy Rights

California residents have additional rights under the California Consumer Privacy Act (CCPA):
- Right to know what personal information is collected
- Right to know if personal information is sold or disclosed
- Right to opt-out of the sale of personal information
- Right to non-discrimination

## Changes to This Privacy Policy

We may update this Privacy Policy from time to time. We will notify you of any changes by:
- Posting the new Privacy Policy in the App
- Updating the "Last Updated" date
- Sending an in-app notification for significant changes

## Contact Us

If you have questions about this Privacy Policy, please contact us:

**Email**: [email protected]  
**In-App**: Settings > Help & Support > Contact Us

## Consent

By using the App, you consent to this Privacy Policy and agree to its terms.

---

© 2025 Sleep Forest. All rights reserved.