# AntiCloudManager: Known Limitations & Technical Constraints

This document provides transparent technical disclosures regarding external API constraints, operating system policies, and architectural boundaries in **AntiCloudManager**.

---

## 🛑 1. Google Account Creation Policies

* **Automated Account Creation:**
  * Google strictly prohibits automated, scripted, or headless Google account creation. Any programmatic attempt to bypass Google reCAPTCHA, SMS verification, or account signup APIs violates Google Terms of Service and triggers automated abuse blocks.
  * **Implementation:** AntiCloudManager directly opens Google's official account registration page (`https://accounts.google.com/signup`) via secure in-app browser/system custom tabs so the user can legally create verified secondary Google accounts. After completing registration, users seamlessly link the account using standard OAuth 2.0.

---

## 🔑 2. Google OAuth Quotas and Verification

* **Unverified App Warning ("Google hasn't verified this app"):**
  * When using a newly created Google Cloud Platform client ID that has not undergone Google OAuth verification, users will encounter a consent screen warning.
  * **Workaround for Personal / Testing Use:** Tap *Advanced* > *Go to AntiCloudManager (unsafe)* to proceed with personal testing.
* **Testing Mode User Limit:**
  * In GCP "Testing" publishing status, OAuth sign-in is restricted to up to 100 explicitly invited test email addresses registered in the Google Cloud Console.
* **Token Expiration:**
  * Standard Google OAuth access tokens expire after 3600 seconds (1 hour). AntiCloudManager securely refreshes expired credentials using the stored OAuth authorization client; however, if a user revokes permissions from their Google Account settings, re-authentication will be required.

---

## 🔋 3. Android Operating System Background Execution

* **Doze Mode & Battery Optimization:**
  * Android OS (Android 8.0+) restricts background thread execution when the device is idle or on battery saver.
  * **Mitigation:** AntiCloudManager utilizes Android WorkManager with exponential backoff and foreground notification channels (`POST_NOTIFICATIONS` / foreground service) to ensure reliable background uploads.
* **OEM-Specific Battery Killers:**
  * Certain aggressive OEM ROMs (e.g., Xiaomi MIUI/HyperOS, OnePlus OxygenOS, Huawei EMUI) may prematurely terminate background services unless the user disables "Battery Optimization" for AntiCloudManager in device settings.

---

## 📁 4. Local File System & Scoped Storage

* **Scoped Storage (Android 10+):**
  * Direct filesystem access to private directories of other applications is prohibited by Android security models.
  * **Behavior:** AntiCloudManager utilizes system SAF (`file_picker`) to allow user-directed selection of files, photos, videos, and documents without requiring intrusive root permissions.
* **Original File Protection:**
  * By strict design, AntiCloudManager **never deletes original files** from local device storage upon successful upload, preventing accidental media loss.

---

## ⚡ 5. Google Drive API Rate Limits

* **Per-User Rate Limits:**
  * Google Drive API enforces a quota limit of 1,000 requests per 100 seconds per user.
  * AntiCloudManager incorporates retry mechanisms and throttled sequential queue uploading to prevent HTTP 429 (`Too Many Requests`) quota errors.
