إنشاء واستخدام حزمة تطوير برامج (SDK) يتم تفعيلها في وقت التشغيل
وقت تشغيل حزمة تطوير البرامج (SDK) هو بيئة تشغيل مخصّصة تم توفيرها في Android 14 للسماح بتشغيل حِزم SDK لعرض الإعلانات التابعة لجهات خارجية بشكل منفصل عن التطبيق. يوفّر هذا النهج إجراءات الوقاية والحماية المتعلقة بجمع بيانات المستخدمين ومشاركتها:
بيئة تنفيذ مستقلة ومعدَّلة يبدأها التطبيق.
يمكن لكل تطبيق بدء مثيل "وقت تشغيل SDK" الخاص به.
أذونات محددة بشكل دقيق لحِزم SDK وحقوق الوصول إلى البيانات
يساعد "وقت تشغيل حزمة SDK" مطوّري حِزم SDK من خلال توفير ما يلي:
العزلة عن الرمز البرمجي والعملية الخاصة بالتطبيق، ما يمنع المستخدمين من الوصول إلى حزمة تطوير البرامج (SDK)
الحماية من وصول حِزم تطوير البرامج (SDK) خفية إلى الرموز أو الموارد الخاصة بكل منها
الآليات التي تمنع الجهات الخارجية من التلاعب بواجهة المستخدم أو التأثير في تقارير حالة واجهة المستخدم
نظرة عامة حول الدليل
هذا دليل المطوِّر لإنشاء حزمة SDK متوافقة مع وقت تشغيل حزمة تطوير البرامج (SDK) ومتوافقة مع حزمة SDK حالية (لا يتم تفعيلها في وقت التشغيل).
سوف تتعلم ما يلي:
المفاهيم الرئيسية المتعلّقة بـ "وقت تشغيل حزمة تطوير البرامج (SDK)"، مثل بنيتها وتثبيتها
تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The SDK Runtime on Android 14 isolates third-party advertising SDKs from apps to enhance user privacy around data collection and sharing."],["SDKs in the Runtime benefit from code and resource isolation, preventing unauthorized access and UI manipulation by other SDKs or the app."],["This guide aids developers in building Runtime-compatible SDKs, covering setup, API declaration, integration, and testing."],["A trusted distribution and installation mechanism is introduced, delivering SDKs as separate packages for enhanced security."],["Developers can leverage the provided sample project and migration plan for adapting existing SDKs to the SDK Runtime environment."]]],["The SDK Runtime in Android 14 isolates third-party advertising SDKs from apps, creating a separate execution environment with defined permissions. This protects user data and prevents unauthorized access between SDKs or the app. SDKs are delivered and installed as separate packages. Developers can build runtime-enabled SDKs, defining APIs and entry points, and utilizing libraries for ad presentation. A migration plan is available for existing SDKs. This involves setting up the development environment and preparing, declaring, testing and calling the runtime-enabled SDK.\n"]]