Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.
Rust androiddocument-scannerdocximage-editorjetpack-composekotlinliquid-glassofflineopen-sourcepdfpdf-compressorpdf-editorpdf-mergerpdf-readerpdf-splitterpdf-toolspdf-viewerpptxspreadsheet-editorxlsx
Correct INTERNET wording: ML Kit libraries already merge it in
Chethan616e74ce983bfa7
diff --git a/PRIVACY.md b/PRIVACY.mdindex f3af5c0..db46338 100644--- a/PRIVACY.md+++ b/PRIVACY.md@@ -8,16 +8,17 @@ ClearPDF is designed to be an offline-first PDF utility for Android.- It does not show ads.- It does not include analytics, telemetry, or crash-reporting services.- It does not intentionally upload PDFs or extracted content to a server.-- The Google Play build does not request Android's `INTERNET` permission.+- ClearPDF's own code declares no `INTERNET` permission in the Google Play build (note: bundled+ Google ML Kit libraries add it through their own manifests; see [`NOTICE`](NOTICE)).## Build flavors and the optional Office engineClearPDF ships in two flavors:-- **play** (Google Play): no `INTERNET` permission. The optional Office engine (powered by- LibreOffice) is delivered by Google Play itself as an on-demand module, only when you tap- *Download* in Settings.-- **foss** (GitHub / sideload builds): declares `INTERNET` for exactly one purpose — downloading that+- **play** (Google Play): ClearPDF itself adds no `INTERNET` permission. The optional Office engine+ (powered by LibreOffice) is delivered by Google Play itself as an on-demand module, only when you+ tap *Download* in Settings.+- **foss** (GitHub / sideload builds): ClearPDF declares `INTERNET` for exactly one purpose — downloading thatsame optional engine when you ask for it. The download goes to a fixed GitHub release URL, sends nodocument or personal data, and is installed only if its size and SHA-256 checksum match valuespinned in the app. Nothing is downloaded unless you start it, and you can delete the engine at anydiff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xmlindex 5e26c0e..7b24e85 100644--- a/app/src/main/AndroidManifest.xml+++ b/app/src/main/AndroidManifest.xml@@ -4,7 +4,8 @@<!-- Camera permission for document scanning --><uses-permission android:name="android.permission.CAMERA" />- <!-- No network permissions here: the play flavor is fully offline (the optional Office engine+ <!-- ClearPDF declares no network permissions here (note: merged ML Kit/datatransport library+ manifests still contribute INTERNET). The play flavor itself is offline (the optional Office enginearrives through Play Feature Delivery). Only the foss flavor adds INTERNET, solely todownload that engine on request - see src/foss/AndroidManifest.xml.<uses-permission android:name="android.permission.INTERNET" />diff --git a/readme.md b/readme.mdindex 61b40d2..c69aef2 100644--- a/readme.md+++ b/readme.md@@ -116,7 +116,7 @@ The project uses JDK 17 or newer and Android SDK 36. Build the release variant lThere are two product flavors (dimension `distribution`, same `applicationId`):-- `play` — Google Play. No `INTERNET` permission; the optional Office engine (powered by+- `play` — Google Play. ClearPDF adds no `INTERNET` permission of its own; the optional Office engine (powered byLibreOffice) is the on-demand dynamic feature `:office_engine`. Its ~46 MB binaries are not in git:`bundlePlay*` downloads the pinned archives, verifies their SHA-256 and unpacks them(`:office_engine:prepareOfficeEngineBinaries`). Other tasks never need the network.