# Privacy Policy for ArtifactView

**Last updated:** June 7, 2026  
**App name:** ArtifactView  
**Package name:** com.artifactview.app  
**Developer:** Mamoon Chishti

---

## 1. Introduction

ArtifactView ("the App") is an Android application that lets you open and preview `.jsx`, `.tsx`, and `.html` files with offline React rendering and local state persistence.

This Privacy Policy explains what information the App handles, how it is used, and your choices. **We do not operate servers that collect personal data from the App.** Processing described below happens on your device unless you choose to share files or exports elsewhere.

By using the App, you agree to this policy. If you do not agree, please do not use the App.

---

## 2. Information We Collect

**We (the developer) do not collect, transmit, or store your data on our servers.** The App does not include analytics, advertising, crash reporting, or user accounts.

The App does handle the following **locally on your device**:

### 2.1 Files you open

When you open a file (from the in-app file picker, your file manager, or another app):

- The App reads the file contents so it can render them.
- The **most recently opened file** is copied to the App's private internal storage so it can be reopened when you launch the App from your home screen (without requiring ongoing access to the original file location).
- The **display name** of the last opened file is stored locally.

We do not upload file contents to the developer or any third party.

### 2.2 Interactive state and preferences

To restore checkboxes, form fields, and React component state between sessions, the App stores data locally, including:

- JSON snapshots of UI/React state (keyed by filename)
- WebView `localStorage` data for the same purpose
- App preferences (for example, whether the title bar is hidden)

This data reflects **content you create or load in your files** (for example, todo text you type). It stays on your device unless you back up your device or export files yourself.

### 2.3 Downloads and printing

If a page you view triggers a download (for example, via a `blob:` or `data:` link) or printing:

- Downloads are saved to your device's **Downloads** folder when you initiate them.
- Printing uses Android's system print dialog and stays on your device.

### 2.4 Diagnostic logs

The App may write debug messages from the in-app web content to **Android system logs (logcat)** on your device. These logs are not sent to the developer.

---

## 3. How We Use Information

All handling above is used only to:

- Render and preview files you choose to open
- Remember UI state and your last opened file between sessions
- Save files you explicitly download and support printing
- Provide basic app settings (such as title bar visibility)

We do **not** use this information for advertising, profiling, or marketing.

---

## 4. Network Access

The App is designed to work **offline**. Babel and React run from libraries bundled inside the App.

The App declares the **Internet** permission because the in-app WebView may load web content you provide. **If your `.jsx`, `.tsx`, or `.html` files contain JavaScript that contacts external websites or APIs, those requests are made by your content from your device to those third parties—not to the App developer.** We do not control those requests.

The App blocks direct http/https file downloads initiated by the WebView and prompts you to use a browser instead.

---

## 5. Data Sharing

**We do not sell, rent, or share your data with third parties for their marketing purposes.**

Data may leave your device only if:

- **You choose to share it** (for example, emailing a file, uploading to cloud storage, or printing).
- **Your opened files include code** that sends data to external services you or the file author configured.
- **You use Android backup** (see Section 6).

We do not receive copies of that shared data.

---

## 6. Storage, Retention, and Security

- Data is stored in the App's private app storage, SharedPreferences, WebView storage, and (for exports) your Downloads folder.
- Data remains until you clear the App's storage, uninstall the App, or delete exported files.
- **Android backup** is enabled for the App (`allowBackup="true"`). If you use Google/Android backup on your device, App data may be included in your encrypted device backup according to your system settings.

We use standard Android platform security. No method of storage is 100% secure; you are responsible for securing your device.

---

## 7. Permissions

The App may request or declare permissions including:

| Permission | Purpose |
|------------|---------|
| **Internet** | Allow web content you open to make network requests if your files include them |
| **Write external storage (older Android versions)** | Save downloads on legacy Android versions |

Files are opened via Android's system file picker (Storage Access Framework), which does not require broad storage or media permissions.

The App uses the system **Storage Access Framework** for file picking where possible. You control which files you open.

---

## 8. Third-Party Software

The App includes open-source and platform libraries (for example, React, Babel, and AndroidX) bundled for offline use. These libraries run locally and, in our integration, **do not send data to us**.

Any third party contacted by **your file's own scripts** is governed by that party's policies, not this one.

---

## 9. Children's Privacy

The App is a general-purpose file viewer and is **not directed at children under 13**. We do not knowingly collect personal information from children. If you believe a child has provided personal information through the App in a way that concerns you, contact us and we will assist with deleting local App data (typically by clearing app storage or uninstalling).

---

## 10. Your Choices and Rights

Because we do not operate accounts or remote data collection:

- **Access / deletion:** Clear the App's data in Android Settings, or uninstall the App, to remove locally stored files, state, and preferences.
- **Opt out of backup:** Adjust your device backup settings if you do not want App data in cloud backup.
- **File access:** Only open files you trust; arbitrary HTML/JSX can run scripts with Internet access if your files include them.

Depending on your location, you may have additional privacy rights. Because we do not hold personal data on our servers, many requests can be fulfilled by deleting local App data as described above. Contact us for questions.

---

## 11. Changes to This Policy

We may update this Privacy Policy from time to time. The "Last updated" date at the top will change when we do. Continued use of the App after changes means you accept the updated policy. For significant changes, we may provide notice in the App or on the store listing.

---

## 12. Contact Us

If you have questions about this Privacy Policy or the App's privacy practices, contact:

**Email:** mamoonmasood17@gmail.com

---

*This policy applies to ArtifactView for Android (package `com.artifactview.app`).*
