# Privacy Policy for AirShield
**Effective Date:** March 16, 2026
**Contact:** muhammadilyas15@gmail.com
## 1. Introduction
AirShield ("we", "our", "the app") is an outdoor health monitoring application that combines air quality, UV index, temperature, humidity, and wind speed data into a single outdoor risk score. The app allows users to set threshold-based trigger alerts and optionally configure a health profile for personalized risk assessments.
By using AirShield, you agree to the collection and use of information as described in this policy.
## 2. Information We Collect
### 2.1 Information You Provide
- **Health Profile Data:** Health conditions you select (Asthma, Allergies, Heart Condition, Pregnancy, Elderly, Child) and their severity levels (Mild, Moderate, Severe). This data is entirely optional.
- **Saved Locations:** Location names you provide when saving monitoring locations.
- **Trigger Configurations:** Alert thresholds and labels you create for condition monitoring.
- **Feedback Messages:** Subject, message, and category when you contact us through the app.
### 2.2 Information Collected Automatically
- **Device Location:** With your explicit permission, we access your device's GPS coordinates (latitude and longitude) to fetch local weather and air quality conditions. Location is accessed on-demand when you open the app or when the background worker checks conditions.
- **Device Information:** Device manufacturer, model, Android version, and app version are collected only when you submit a feedback message via the Contact Us form. This information is appended to your email to help us diagnose issues.
- **Crash Reports:** If the app crashes, Firebase Crashlytics automatically collects crash logs, device state, and stack traces to help us identify and fix bugs.
### 2.3 Environmental Data from APIs
- **Weather and Air Quality Data:** The app fetches air quality index (AQI), PM2.5, PM10, UV index, temperature, humidity, and wind speed from public weather APIs using your location coordinates. This data is cached locally for offline access and stored in history for up to 90 days.
## 3. How We Use Your Information
We use collected information to:
- **Provide core functionality:** Fetch real-time weather and air quality data for your location and calculate your outdoor risk score.
- **Personalize risk assessments:** Adjust risk scores based on your health profile (if configured). Health data is used only for local calculations and is never transmitted to any server.
- **Send trigger alerts:** Compare current conditions against your configured thresholds and send notifications when conditions are met.
- **Generate reports:** Create CSV and PDF exports of your condition history for your personal records.
- **Display advertisements:** Show banner and interstitial ads to free-tier users via Google AdMob.
- **Improve app stability:** Use crash reports to identify and fix bugs.
- **Process purchases:** Handle one-time premium purchase transactions via Google Play Billing.
## 4. Data Storage and Security
### 4.1 Local Storage
All your personal data is stored locally on your device:
- **Room Database** (`air_shield.db`): Stores triggers, cached conditions, condition history, saved locations, and health profiles.
- **SharedPreferences:** Stores app settings, last known location, theme preference, and premium status.
- **Cache Directory:** Temporary storage for exported CSV and PDF files.
### 4.2 No Cloud Storage
AirShield does **not** use cloud storage or cloud sync. There is no user account system. All your data remains on your device and is not uploaded to any server.
### 4.3 Security Measures
- All API communication uses HTTPS/TLS encryption.
- Exported files use Android's FileProvider for secure sharing.
- Location data is only accessed with your explicit runtime permission.
- No passwords or authentication credentials are stored.
## 5. Data Sharing
### 5.1 We Do NOT Sell Your Data
We do not sell, trade, or rent your personal information to third parties.
### 5.2 Data Transmitted to APIs
Your GPS coordinates (latitude and longitude) are sent to the following weather data providers to fetch environmental conditions:
- **Cloudflare Proxy** (primary): Our server-side proxy that aggregates weather, air quality, and UV data. Coordinates are used solely to fetch local conditions and are not stored beyond the cache period (30-60 minutes).
- **Open-Meteo** (fallback): An open-source weather API. No API key required, no personal data tracking. Privacy policy: https://open-meteo.com/en/terms
### 5.3 Third-Party Services
| Service | Purpose | Data Accessed | Privacy Policy |
|---------|---------|--------------|----------------|
| Google AdMob | Advertising (free tier) | Device ID, ad interactions | [Google Privacy Policy](https://policies.google.com/privacy) |
| Firebase Crashlytics | Crash reporting | Crash logs, device state | [Firebase Privacy](https://firebase.google.com/support/privacy) |
| Google Play Billing | Premium purchase | Purchase history | [Google Privacy Policy](https://policies.google.com/privacy) |
| Google Play Services (Location) | GPS positioning | Device location | [Google Privacy Policy](https://policies.google.com/privacy) |
| Google UMP | Ad consent | Consent preferences | [Google Privacy Policy](https://policies.google.com/privacy) |
### 5.4 Ad Personalization
- Free-tier users see advertisements served by Google AdMob.
- AdMob may use device identifiers and usage data for ad personalization.
- The app uses Google's User Messaging Platform (UMP) to obtain your consent before showing personalized ads.
- You can opt out of personalized ads through your device settings (Settings > Google > Ads).
- Premium users see no advertisements.
## 6. Health Data
### 6.1 Health Information
AirShield may collect the following health-related information that you voluntarily provide:
- Health conditions: Asthma, Allergies, Heart Condition, Pregnancy, Elderly, Child
- Severity level for each condition: Mild, Moderate, or Severe
### 6.2 Health Data Protection
- Health data is stored **exclusively on your device** in the local database.
- Health data is **never transmitted** to any server, API, or third party.
- Health data is used only for local risk score adjustments and trigger presets.
- Health data is not used for advertising or marketing purposes.
- You can delete your health profile at any time from within the app.
### 6.3 Medical Disclaimer
AirShield is a personal outdoor health monitoring tool and is **NOT** a medical device or medical advice tool. The risk scores and recommendations provided are based on general guidelines and publicly available environmental data. Always consult your healthcare provider for medical decisions. The app does not diagnose, treat, or prevent any disease.
## 7. Children's Privacy
AirShield is not directed at children under the age of 13. We do not knowingly collect personal information from children under 13. If we discover that a child under 13 has provided us with personal information, we will delete it promptly.
## 8. Your Rights and Choices
### 8.1 Access and Control
- You can view all your data within the app at any time.
- You can edit or delete health profiles, saved locations, and triggers from within the app.
- You can export your condition history as CSV or PDF for your records.
### 8.2 Data Deletion
- Delete health profiles: Settings > Health Profile > delete individual conditions.
- Delete saved locations: Settings > Locations > delete individual locations.
- Delete triggers: Triggers screen > delete individual triggers.
- Condition history is automatically deleted after 90 days.
- Uninstalling the app removes **all** locally stored data permanently.
- There is no cloud data to delete (no account system).
### 8.3 Permissions
- **Location:** You can revoke location permission at any time via device Settings. The app will still function but cannot fetch local conditions.
- **Notifications:** You can disable notifications at any time through app Settings or device Settings.
### 8.4 Ad Preferences
- Premium purchase removes all advertisements permanently.
- You can opt out of personalized ads via device settings (Settings > Google > Ads).
## 9. GDPR Compliance (European Users)
If you are located in the European Economic Area (EEA), you have additional rights:
- **Right to access** — view all your data within the app.
- **Right to rectification** — edit any data you have entered.
- **Right to erasure** — delete your data from within the app, or uninstall to remove all data.
- **Right to restrict processing** — revoke location or notification permissions.
- **Right to data portability** — export your data as CSV or PDF.
- **Right to object** — opt out of personalized advertising via device settings.
The app uses Google's User Messaging Platform (UMP) to obtain consent for data processing and personalized advertising in compliance with GDPR.
To exercise any of these rights, contact us at muhammadilyas15@gmail.com.
## 10. Data Retention
- **Health profiles:** Retained until you delete them or uninstall the app.
- **Saved locations:** Retained until you delete them or uninstall the app.
- **Triggers:** Retained until you delete them or uninstall the app.
- **Condition history:** Automatically deleted after 90 days.
- **Cached conditions:** Overwritten on each refresh (latest reading only).
- **Crash reports:** Retained by Firebase for 90 days per Google's policy.
- **Last known location:** Retained in app preferences until app is uninstalled.
## 11. Changes to This Policy
We may update this Privacy Policy from time to time. We will notify you of significant changes by:
- Updating the "Effective Date" at the top of this policy.
- Posting a notice within the app.
Your continued use of the app after changes constitutes acceptance of the updated policy.
## 12. Contact Us
If you have questions or concerns about this Privacy Policy or our data practices, contact us at:
**Email:** muhammadilyas15@gmail.com