سياسة خصوصية KidGuard
1) البيانات التي يعالجها التطبيق
| الفئة | ما يُخزَّن فعليًا | أين |
|---|---|---|
| الموقع الجغرافي | قراءات GPS (خط العرض/الطول، الدقة ±متر، طابع زمني) لاكتشاف الدخول/الخروج من منطقة أمان وإظهار آخر موقع معروف. | محليًا على الجهاز، وطابور إرسال عندما تنقطع الشبكة. |
| الموقع في الخلفية | شغّل التطبيق خدمة الواجهة الأمامية KidGuardForegroundService بنوع foregroundServiceType="location" بمجرد منح إذن الموقع على هذا الجهاز، وتُعاد تشغيلها تلقائيًا عند كل إقلاع عبر BootReceiver، حتى يستمر كشف الدخول/الخروج من مناطق الأمان والتطبيقُ مغلق أو غير ظاهر. الإشعار المستمر بذلك مرئي دائمًا في شريط الحالات ولا يخفيه التطبيق، ويكفي رفض إذن الموقع (أو مسح البيانات ثم عدم إعادة المنح) لإيقافه. | المعالجة على الجهاز؛ ولا تُرسل قراءات إلى خادم لنا. |
| بيانات الهوية النصية | اسم الطفل كما يكتبه الوالد، رقم هاتف الوالد، وعنوان البريد المستلم للتنبيهات. | محليًا داخل إعدادات التنبيه. |
| الإعدادات والحالة | مناطق الأمان، سياسة التنبيه، حالة الحماية، سجل الحوادث، الدور (والد/طفل)، اللغة، السمة. | localStorage للتطبيق. |
| الاقتران بين الجهازين | deviceToken، pairingCode، parentAccountId — معرّفات عشوائية تُنشأ على الجهاز. | محليًا على الجهازين المعقرنين. |
| رمز PIN الوالد | لا يُخزَّن الرمز الخام إطلاقًا؛ تُخزَّن بصمته SHA-256 فقط. | محليًا. |
| الصوت الطارئ | تسجيل ميكروفون حتى 30 ثانية عند الضغط على زر التسجيل الطارئ. | في ذاكرة التطبيق مؤقتًا للتشغيل فقط. لا يُكتب على وحدة التخزين ولا يُرفق برسالة ولا يُرفع لأي خادم، ويزول بإغلاق التطبيق. |
| بيانات SMTP | الاسم المضيف والمنفذ واسم المستخدم وكلمة المرور التي يكتبها المستخدم بنفسه إن اختار تنبيهات البريد. | ملف إعدادات أصلي على الجهاز باسم kidguard_smtp_secure_v2 — خارج المفاتيح التسعة التي يمسحها زر «حذف كل البيانات المحلية». |
2) مغادرة الجهاز: القنوات الثلاث الممكنة
تنبيه البريد (اختياري): إذا هيّأ المستخدم خادم SMTP، يرسل التطبيق رسالة بريد تحتوي اسم الطفل والسبب والوقت والإحداثيات مع دقة GPS ورابط خريطة. الاتصال يتم بخادم البريد الذي اختاره المستخدم عبر STARTTLS (المنفذ الافتراضي 587) — أي أن النقل مؤمَّن بالطبقة، وليس تشفيرًا طرفيًا، وتخضع الرسالة لسياسة مزوّد البريد.
مزامنة REST (اختياري): إذا عيّن المستخدم نقطة نهاية REST وتم الاقتران، تُرسل أحداث الطابور عبر HTTPS إلى الخادم الذي يختاره المستخدم بنفسه (وقد يكون خادمًا يستضيفه هو). هذه البيانات تخضع لسياسة مشغّل ذلك الخادم، ولا اطّلاع لمطوّر التطبيق عليها.
رسائل SMS: في الإصدار الحالي لا يعلن ملف Android manifest صلاحية SEND_SMS، لذلك
لا يرسل التطبيق رسائل نصية تلقائيًا في الخلفية؛ يقتصر السلوك على فتح منشئ الرسائل في نظام أندرويد
مع نصٍّ مُجهَّز، والمراجعة والضغط على «إرسال» يبقان بيد المستخدم.
3) الأمان
يُخزَّن رمز PIN مجزّأً بـSHA-256، وتُولَّد معرّفات الاقتران من مصدر عشوائية مُؤمَّن، ويرفض التطبيق
قراءات GPS القديمة لتقليل الإنذارات الكاذبة. كلمة مرور SMTP تُشفَّر بـAES/GCM بمفتاح داخل
AndroidKeyStore على الجهاز نفسه، ولا تُرسَل إلى أي خادم لنا.
- إذا رفض جهاز معيّن استخدام AndroidKeyStore، يسقط تخزين كلمة مرور SMTP إلى نص صريح داخل إعدادات التطبيق بدلًا من التشفير. على الأجهزة القديمة أو المُروَّتَة احذفها عبر الإعدادات ← التطبيقات ← KidGuard ← مسح التخزين أو إلغاء التثبيت؛ لا يوجد زر داخل التطبيق يمسح إعدادات البريد.
- الاسم المضيف واسم المستخدم SMTP يُخزَّنان بلا تشفير (هما أقل حساسية، لكن الإفصاح واجب).
- التطبيق مُعلَّم بـ
allowBackup="true"في الإصدار 1.3، ما يجعل إعدادات التطبيق قابلة للنسخ الاحتياطي عبر أندرويد. لتفادي ذلك: الإعدادات ← النظام ← النسخ الاحتياطي ← إيقاف النسخ عن هذا التطبيق. تنبيه: زر «حذف كل البيانات المحلية» يمسح بيانات التطبيق التسع ولا يمسح ملف SMTP، فقبل بيع جهاز أو نقله استخدم مسح التخزين أو إلغاء التثبيت. - لا توجد وسيلة تقنية تضمن أمانًا مطلقًا. لا تشارك رمز PIN ولا رمز الاقتران.
4) الاحتفاظ والحذف
تبقى البيانات المحلية إلى أن تحذفها أنت. يوفر التطبيق زرًا داخله لحذف بياناته: الإعدادات ← قسم «الخصوصية وإدارة البيانات» ← «حذف كل البيانات المحلية» (يطلب تأكيدًا ثم يعيد تحميل التطبيق). يمكن أيضًا تصدير نسخة منقّحة (استعراضية) لا تتضمّن بصمة PIN ولا معرّفات الاقتران. لهذا الزر نطاق محدّد: يمسح مفاتيح التطبيق التسعة ولا يمسح ملف إعدادات SMTP. الحذف الأشمل على الجهاز هو عبر إعدادات أندرويد (مسح التخزين أو إلغاء التثبيت)، فهو يزيل بيانات التطبيق الخاصة كلها بما فيها ملف SMTP. التعليمات الكاملة هنا: صفحة حذف البيانات.
5) الأطفال والإشراف
KidGuard موجَّه للوالدين أو الأوصياء القانونيين ويُعدّ ويُشغَّل من شخص بالغ. يجب تثبيته على جهاز الطفل بعلم الطفل وعائلته وإذنهم بحسب سنّه والقوانين المحلية؛ التطبيق لا يخفي أيقونته ولا يعمل سرًّا، وتبقى إشعارات الحماية مرئية على الجهاز. لا نستخدم بيانات الأطفال للإعلانات أو لبناء ملفات تسويقية.
6) أذونات معلَّنة لا يستخدمها الإصدار الحالي
يعلن ملف Android manifest صلاحيات CAMERA وREAD_EXTERNAL_STORAGE و
WRITE_EXTERNAL_STORAGE، بينما لا يستدعي كود الإصدار الحالي الكاميرا ولا يكتب ملفات على وحدة التخزين.
نوثّق ذلك هنا بدل إخفائه، وتُزال هذه الصلاحيات من إصدار قادم حين تُحدَّث الحزمة؛ لا تُستخدم لأي غرض جمع بيانات اليوم.
7) التغييرات والتواصل
قد نحدّث هذه السياسة عند تغيّر وظائف التطبيق أو طريقة معالجة البيانات، ويظهر تاريخ التحديث أعلى الصفحة. استفسارات الخصوصية وحذف البيانات: dbdz200@gmail.com.
8) هذه الصفحة هي السياسة المطلوبة من Google Play
الرابط المعلَن في Console هو https://toufikben.github.io/privacy-policies/kidguard/،
ورابط حذف البيانات المعلَن هو https://toufikben.github.io/privacy-policies/kidguard/delete-data.html.
KidGuard Privacy Policy
1) Data the app processes
| Category | What is actually stored | Where |
|---|---|---|
| Location | GPS readings (latitude, longitude, accuracy in metres, timestamp) to detect safe-zone entry/exit and show the last known location. | On-device, plus an outbound queue when the network is unavailable. |
| Background location | The app starts KidGuardForegroundService with foregroundServiceType="location" as soon as location permission is granted on that device, and BootReceiver restarts it automatically on every boot, so safe-zone entry/exit detection keeps working while the app is closed or not visible. The ongoing notification is always visible in the status bar and is not hidden; denying the location permission (or clearing the data and not re-granting) stops it. | Processed on-device; readings are not sent to any server of ours. |
| Text identifiers | The child's name as typed by the parent, the parent's phone number, and the alert email address. | On-device, inside alert settings. |
| Settings & state | Safe zones, alert policy, protection state, incident history, role (parent/child), language, theme. | App localStorage. |
| Pairing | deviceToken, pairingCode, parentAccountId — random identifiers generated on the devices. | On both paired devices only. |
| Parent PIN | The raw PIN is never stored; only its SHA-256 digest. | On-device. |
| Emergency audio | Microphone recording of up to 30 seconds when the emergency record button is pressed. | App memory only, for playback. It is not written to storage, never attached to a message, never uploaded, and disappears when the app closes. |
| SMTP credentials | Host, port, username and password entered by the user, only if email alerts are configured. | Native preferences file on the device, kidguard_smtp_secure_v2 — outside the nine keys the in-app "Delete all local data" button clears. |
2) Anything that leaves the device
Email alerts (optional). If the user configures an SMTP server, the app sends a message containing the child's name, the reason, the time, coordinates with GPS accuracy, and a map link. The connection uses STARTTLS (port 587 by default): transport security, not end-to-end encryption, and the message is subject to that mail provider's own policy.
REST sync (optional). If the user sets a REST endpoint and pairs a device, queued events are sent over HTTPS only to the endpoint the user chose (possibly a server they host). That data falls under that operator's privacy policy; the app developer has no access to it.
SMS. The current release does not declare the SEND_SMS permission in its
Android manifest, so the app cannot send texts silently in the background. It only opens Android's message
composer with a pre-filled body; reviewing and pressing Send remains a human action.
3) Security
The PIN is stored as a SHA-256 digest, pairing identifiers come from a cryptographically secure random
source, and stale GPS readings are rejected to reduce false alerts. The SMTP password is encrypted with
AES/GCM using a key held in AndroidKeyStore on the device; it is not sent to any server of
ours.
- If AndroidKeyStore is unavailable on a given device, the SMTP password falls back to plaintext in app preferences instead of encryption. On old or rooted devices remove it with Settings ← Apps ← KidGuard ← Clear storage, or uninstall; there is no in-app button that clears the mail settings.
- SMTP host and username are stored unencrypted (lower sensitivity, but disclosed for completeness).
- Version 1.3 sets
allowBackup="true", so Android may include app preferences in device backups. To prevent this: Settings ← System ← Backup ← exclude this app. Note that "Delete all local data" clears the nine app keys but not the SMTP file, so before selling or handing over a device use Clear storage or Uninstall. - No technical measure guarantees absolute security. Do not share your PIN or pairing code.
4) Retention and deletion
Local data stays until you delete it. In-app: Settings ← the "Privacy & Data Controls" section ← "Delete all local data" (confirmation required, then the app reloads). A redacted export is also available and excludes the PIN digest and pairing secrets. That button clears the nine app keys and does not clear the SMTP preferences file. The wider deletion on that device is Android's Clear storage or Uninstall, which removes the app's private data including the SMTP file. Full instructions: data deletion page.
5) Children and supervision
KidGuard is intended for parents or legal guardians, configured and operated by an adult. It must be installed on a child's device with the knowledge and consent of the child and the family, according to their age and applicable law. The app does not hide its icon and does not run covertly; protection notifications stay visible on the device. Children's data is not used for advertising or marketing profiles.
6) Declared permissions the current release does not use
The Android manifest declares CAMERA, READ_EXTERNAL_STORAGE and
WRITE_EXTERNAL_STORAGE, while the current release's code does not invoke the camera and does not write files
to external storage. We document this rather than hide it; these permissions are scheduled for removal in an upcoming
build. No data is collected through them today.
7) Changes and contact
We may update this policy when the app's features or data handling change; the revision date appears at the top of this page. Privacy and deletion requests: dbdz200@gmail.com.