QuizWalah AI Privacy Policy & Data Handling Architecture
Effective Date: October 29, 2026 • Applies to QuizWalah AI Android, iOS & Web (quizwalah.com)
1. Local-First Study Library (Android/iOS SQLite & Web IndexedDB)
Your imported PDFs, coaching sheets, book photos, pasted study text, YouTube lecture quizzes, structured YouTube Study Notes, practice attempts, and Sparkle AI explanations/memory hooks are stored locally on your device:
- On Android & iOS: Stored inside an account-scoped on-device SQLite database (
library_<sha256>.db) and account-isolated application files directory (sources/<sha256>), plus local preferences (SharedPreferences). - On Web: Stored inside your browser's account-scoped IndexedDB (
QuizWalahWorkspaceDB) andlocalStorage.
We do not maintain a permanent cloud database of your private imported quizzes or study notes. Quiz content leaves your device only when you explicitly request AI processing, create a temporary public share link, or submit a content/support report.
2. Transient AI Processing, Reference Verification & 60-Minute PDF Cache
When you grant AI Processing Consent and convert study material into a quiz or YouTube Study Notes, generate a Sparkle AI memory hook or deep analysis, or run Sparker Question Repair, the selected file, public YouTube video link, or question excerpt is transmitted over HTTPS (TLS) to our FastAPI backend and processed using Google Gemini APIs.
- Public Reference Verification (Question Repair): To verify factual answers and repair broken options during Sparker Question Repair, our backend may query public reference services (Wikipedia/Wikidata, OpenAlex, DuckDuckGo, and public news RSS feeds) using short, PII-redacted search keywords derived from the question prompt (with email addresses, phone numbers, URLs, and long numeric identifiers stripped prior to lookup). YouTube lecture conversions do not run external web reference searches and rely strictly on the video lecture itself.
- YouTube Lecture Processing (Official Gemini Multimodal 5-Minute Segments, 7-Day API Metadata TTL & 90-Day AI Output Cache): When you import a public YouTube teaching video, our backend checks video metadata and eligibility via the official YouTube Data API v3 (
videos.list) and analyzes the public video URL directly in progressive 5-minute windows using Google Gemini Multimodal Video Understanding (Vertex AI). By using our YouTube lecture import features, you agree to be bound by the YouTube Terms of Service and acknowledge the Google Privacy Policy. We do not scrape captions on your device or store raw video, audio, or transcript streams. YouTube Data API v3 metadata records (video:v3:*/video:*) expire after at most 7 days (strictly within the 30-day YouTube API Services policy limit), while Gemini-generated progressive segment batches and structured quiz/note outputs are cached inyoutubeImportCachefor up to 90 days so repeated or resumed imports of the same public lecture are served immediately without re-running AI extraction. - 60-Minute Owner-Scoped Ephemeral PDF Cache & GCS Lifecycle: Uploaded PDFs are held in an account-bound transient server cache (
/tmp/quizwalah_pdf_cachewith owner metadata) and owner-scoped encrypted Google Cloud Storage objects (ephemeral-pdf-cache/{owner_hash}/{pdf_sha256}.pdf) for up to 60 minutes of active use solely to support multi-page continuation (pdf_sha256) and Tier-1 question repair without re-uploading. Active PDF cache objects expire after 60 minutes in worker storage, are backed by a 1-day GCS object deletion lifecycle rule, and are immediately deleted from both active worker storage and your owner-scoped GCS prefix when you delete your account. The underlying Google Cloud Storage bucket maintains a standard 7-day soft-delete recovery window managed by Google Cloud before permanent physical erasure.
3. Account Identity, Telemetry, Notifications, In-App Campaigns & Retention Schedules
- Authentication: We authenticate via Firebase Google Sign-In (and Apple Sign-In where enabled) to associate your plan entitlements, rolling 12-hour and 7-day quota windows, and AI credit wallet balance.
- Analytics & Server Telemetry (No Crashlytics): We use Firebase Analytics (with Android Advertising ID /
AD_IDcollection disabled) and first-party operational telemetry in Cloud Firestore. We do not use Firebase Crashlytics or third-party ad SDKs. Server-side telemetry and operational records follow automated Firestore TTL expiration policies:userActivityDaily&userSessionEvents(authenticated route activity summaries): auto-expire after 90 days.crmWaterfallTraces(de-identified AI/YouTube pipeline latency and step diagnostics): auto-expire after 30 days.usagePeriods(rolling 12-hour and 7-day quota counters): auto-expire after 180 days.operations(request idempotency and in-flight job status): auto-expire after 24 hours.contentReports(user-submitted reports on AI questions, Study Notes sections, or shared quizzes): auto-expire after 30 days.supportTickets(Support Desk requests): auto-expire after 180 days or immediately when withdrawn by you.
- Push Notifications, In-App Campaigns & Play Updates: If you grant notification permission, we store your Firebase Cloud Messaging (FCM) device token, platform, and app version in
users/{uid}/devicesto deliver exam alerts and account updates (removed on sign-out or account deletion). The app also fetches remotely configured in-app announcement cards (crmCampaigns) and stores impression counts and dismissals locally on your device. On Android, the app uses Google Play's official In-App Updates API (com.google.android.play:app-update) so any app updates are downloaded and installed exclusively by Google Play. - Telegram Phone Verification & Referrals: If you verify your phone number via Telegram, we store an AES-256-GCM encrypted record of your verified phone number (
marketingPhoneConsents/{uid}) along with a keyed cryptographic hash (HMAC-SHA256) and masked representation for account verification and prevention of duplicate reward abuse, even without promotional consent. Promotional and WhatsApp marketing messages are strictly opt-in (unchecked by default) and can be unsubscribed anytime in the app (Account → click here) or on Data Deletion; unsubscribing immediately stops promotional outreach while retaining your encrypted verified phone record for account verification and fraud prevention. When you delete your account, this record is deactivated and scheduled for deletion after a 30-day anti-fraud retention period; automatic deletion may take additional time. - Public Quiz Shares (72-Hour TTL & Moderation): When you accept the Shared Quiz Community Rules and click Share on a quiz deck, the serialized
QuestionSetJSON is stored at a share link (/s/[id]) that automatically expires after 72 hours. Recipients can report shared quizzes and block abusive senders in-app or on the web; reported links confirmed by moderation (or flagged for safety/copyright violations) are immediately disabled and blocked from reuse.
4. Your Right to Withdraw Consent, Delete Data & Anti-Fraud Retention
You can revoke AI processing consent, wipe your local browser or mobile device workspace (including local SQLite databases, IndexedDB, and copied source files), withdraw marketing preferences, or permanently delete your entire server account and Firebase identity at any time in the mobile app (Account → Delete account) or on our web Data Deletion & Privacy Controls page.
- Deleted Immediately Upon Account Deletion: Your server account profile (
users/{uid}andcrmUsers/{uid}), registered FCM device tokens (devicesandfcmDevices), quota counters (usagePeriods), active operations (operations), session telemetry (userActivityDaily,userSessionEvents), diagnostic traces (crmWaterfallTracesand in-memory diagnostics), public quiz shares (shares) and sender blocklists (blockedShareSenders), support tickets matching your UID or verified account email (supportTickets), content reports (contentReports), referral attributions and phone sessions (referralAttributions,phoneVerificationSessions), marketing preferences and audit logs (marketingPreferences,marketingAuditLogs), and active 60-minute cached PDFs in worker disk and your owner-scoped GCS prefix (ephemeral-pdf-cache/{owner_hash}/). - Retained Solely for Fraud, Replay & Abuse Prevention: To prevent duplicate promotional credit farming, subscription replay, and race-condition recreation of deleted records, we retain only:
- De-identified Phone Claim Hashes: Keyed HMAC-SHA256 phone hashes in
verifiedPhoneOwnersandreferralPhoneClaims(with raw/masked phone numbers and user IDs stripped). - Minimal Referral Tombstones: De-identified anti-fraud markers in
referralProfilesandreferrals(deleted: true, personal identifiers removed) so previously claimed referral bonuses cannot be re-claimed. - 30-Day Account Deletion Lock & Grace Period: A temporary lock record in
accountDeletionLocksand the deactivated encrypted phone record inmarketingPhoneConsents(optedIn: false, ownerDeleted: true), both auto-expiring after 30 days via Firestore TTL to prevent anti-fraud/security abuse and block in-flight background requests from recreating deleted records. - De-Identified Google Play Purchase-Token Record: If you purchased a Google Play subscription or top-up,
playPurchaseTokensstrips youruid,lastUid, and raw token upon account deletion and retains only the de-identified hashed purchase record (accountDeleted: true) until the paid entitlement period ends plus 30 days (or up to 400 days for one-time purchase tokens) to prevent cross-account purchase replay and handle billing reconciliation.
- De-identified Phone Claim Hashes: Keyed HMAC-SHA256 phone hashes in
5. Publisher & Privacy Contact
QuizWalah AI is published by Saurabh Kumar. For any privacy, data protection, account deletion, or safety inquiries, contact us directly at saurav@quizwalah.com or submit a ticket on our Support Desk.
