Thaqalayn Library العربية

Thaqalayn Library: Privacy Policy

Last updated: 28 October 2026

This app is provided by Thaqalayn Office, part of Bab Al-Murad Association, directed by Sayyid Nusrat Qashaqish Al-Amili (“we”).

1. Without an account

Browsing, downloading, reading and searching downloaded books need no account. Downloaded books, reading progress, notes, highlights, marks and study sessions are stored on your device. Online search and “by meaning” search send your search text to our server to return results. We do not store search text and do not link it to your account, device or network address. “By meaning” search is processed by a model running on our own server; its text is not sent to any outside service.

2. When you sign in we collect

We do not collect your location, contacts, photos or payment details, and we do not record your device model or your network (IP) address with your data.

3. What we do not do, and who receives your data

No advertising, no tracking, no analytics tools in the app. We do not sell your data or share it for marketing. We share it only with three providers, only to run the service: (1) Google (Gemini), to write the AI assistant’s answer (see section 4); (2) Brevo, to send the sign-in code email; it receives your email address and the code; (3) Apple (APNs push service), to deliver notifications to your device; it receives the device token and the notification text.

4. AI assistant

Your question is sent to our server, then, together with the earlier messages of the chat and the closest passages of the library’s books, to Google’s Gemini service, which writes the answer from those passages only. We currently use the free tier of this service, and Google’s terms for it may apply to the content sent. For each question our server logs: the question and answer text, your account id, an optional install id and the app version, token counts and timings, the search texts the model wrote, and the passages used. No network (IP) address is logged here. Purpose: to answer, improve the service and diagnose faults. Answers are generated automatically from book text and show their sources so you can check them. The assistant has a daily question limit per account.

4A. Notifications

If you allow notifications we send three kinds, each with its own switch in Settings → Notifications: assistant answer ready (when your question is answered and you left the app; on by default), your books (when a book you read, downloaded, or added a note or mark to is updated; on by default), and new books in the library (one digest a day at most, at 10:00 your time; off by default). A notification carries no private text: only the chat or book id, so the app can open it when you tap. For book updates we keep the list of ids of the books downloaded on your device. We send none from 22:00 to 08:00 your time (except assistant answers) and at most three a day. Notifications use the language you chose in the app.

5. Retention

6. Your control

Delete your account in the app’s Settings: the account, all your devices, everything you synced (notes, marks, highlights, sessions, progress) and all your chats and their log entries are deleted immediately, in one step. Local data stays on your device until you delete the app. Signing out removes saved chats from your device and stops notifications to it. You control each kind in Settings → Notifications in the app, or turn them all off in iOS Settings. You can delete or rename chats. For any request about your data write to support@thaqalaynlibrary.com.

7. Security

Data travels to the server over HTTPS; your sign-in key is kept in the device Keychain, and sign-in tokens are stored on the server hashed.

8. Children

The app is a library of texts and is not directed at collecting data from children.

9. Changes and contact

We may update this policy; the date above shows the latest version. Contact: support@thaqalaynlibrary.com