نشر تطبيق خاص
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
لا يمكن مطلقًا حظر التطبيقات المنشورة من خلال واجهة برمجة التطبيقات Google Play Custom App Publishing API.
جعله عامًا. تخضع لعملية تحقق من الوزن الأخف من
ونتيجةً لذلك، يمكن تقليل وقت النشر إلى خمس دقائق فقط.
(مقارنةً بأكثر من ساعتين عبر Play Console).
لنشر تطبيق خاص لمؤسسة، يُرجى الاتصال
Accounts.customApps.create
،
إدخال رقم تعريف حساب المطوّر الخاص بالمؤسسة كمَعلمة الحقول المطلوبة فقط في
نص الطلب هو عنوان التطبيق والقائمة التلقائية للتطبيق
. عليك التأكّد أيضًا من أنّ أي تطبيق خاص تنشره يستوفي ما يلي أيضًا:
المتطلبات:
- اسم الحزمة فريد لخدمة Google Play (وليس فقط خاصًا بحساب المطوّر).
- يكون عنوان التطبيق فريدًا لحساب المطوّر.
مثال
Path apkPath = Paths.get("PATH_TO_APK");
ByteArrayContent apk =
new ByteArrayContent("application/octet-stream", Files.readAllBytes(apkPath));
CustomApp appMetadata =
new CustomApp()
.setTitle("APPLICATION TITLE")
.setLanguageCode("en_US")
.setOrganizations(
List.of(
new CustomAppOrganization()
.setOrganizationId("C0123wxyz")
.setOrganizationName("My organization")));
CustomApps.Create request =
apiClient.accounts() // Playcustomapp apiClient
.customApps()
.create(DEV_ACCOUNT_ID, appMetadata, apk);
CustomApp response = request.execute();
System.out.println(response);
في حال نجاح التطبيق، سيظهر في قائمة حساب المطوِّر للتطبيقات المنشورة
التطبيقات في Play Console على الفور. سيكون التطبيق متاحًا للتوزيع.
إلى المستخدمين النهائيين في غضون خمس دقائق.
لا يكون التطبيق الخاص المنشور متاحًا تلقائيًا إلا للمؤسسة.
مرتبطًا بحساب المطور. لتعيين المؤسسات التي
إتاحة تطبيق خاص، أضف معرّفات المؤسسات إلى
الموقع: organizations
.
توزيع التطبيقات الخاصة
تتم الموافقة تلقائيًا على التطبيقات الخاصة عند نشرها، ولكن لا تتم الموافقة عليها تلقائيًا.
متاحة للمستخدم ما لم يمنحه مشرف تكنولوجيا المعلومات في المؤسسة إذن الوصول بشكل صريح
لجميع التطبيقات المعتمَدة يمكنك تفعيل هذه الميزة في وحدة تحكّم إدارة الخدمات الجوّالة للمؤسسات (EMM) باستخدام
Users.setAvailableProductSet
(يجب ضبط productSetBehavior
على "allApproved"
).
يمكنك أيضًا استخدام المكالمة نفسها للسماح لمشرفي تكنولوجيا المعلومات بإضافة تطبيقات معيّنة إلى القائمة المسموح بها.
لمستخدم (اضبط productSetBehavior
على "whitelist"
).
لمزيد من المعلومات حول كيفية إضافة تطبيقات إلى "متجر Google Play للأعمال" لدى المستخدم،
راجع إنشاء تنسيقات متجر مخصصة.
تحديث تطبيق خاص
لتوفير أفضل تجربة مستخدم ممكنة لعملاء مؤسستك،
ننصحك بدمج ميزة نشر التطبيقات الخاصة إلى جانب التطبيق والمتجر
ميزات تحديث بطاقة بيانات المتجر المتاحة من خلال Google Play Publishing API
يتيح ذلك لمشرفي تكنولوجيا المعلومات إمكانية نشر التطبيقات الخاصة وتعديلها وتحديثها.
مباشرةً من وحدة تحكّم إدارة الخدمات الجوّالة للمؤسسات (EMM) أو بيئة التطوير المتكاملة (IDE). يمكنك استخدام حساب الخدمة نفسه الذي
أنشأته لنشر التطبيقات الخاصة لاعتماد Google Play Publishing API
الطلبات.
يمكنك أنت أو عميل مؤسستك أيضًا تعديل التطبيقات الخاصة ومتجره.
بيانات المتجر من Play Console (لمزيد من المعلومات، يُرجى الرجوع إلى مركز مساعدة Play Console)
ابدأ الترميز باستخدام مكتبات العملاء
تتوفّر مكتبات العملاء لواجهة برمجة التطبيقات Google Play Custom App Publishing API في
Java
Python،
.NET
وRuby.
مزيد من المعلومات حول Android Enterprise
- لمزيد من المعلومات حول تطوير أحد حلول إدارة الخدمات الجوّالة للمؤسسات (EMM) لأجهزة Android، يمكنك الاطّلاع على
Android Enterprise:
- للحصول على معلومات حول أفضل الممارسات لتطوير تطبيقات Android
التوزيع على مستوى المؤسسة، راجع Android
للمؤسسات.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Google Play Custom App Publishing API enables publishing private apps for enterprises, subject to a lighter verification process compared to public apps.\u003c/p\u003e\n"],["\u003cp\u003ePrivate apps are automatically approved upon publishing but require explicit IT admin authorization for user access via an EMM console.\u003c/p\u003e\n"],["\u003cp\u003ePrivate apps can be updated programmatically through the API or manually via the Google Play Console by developers or enterprise customers.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries for the API are available in Java, Python, .NET, and Ruby for streamlined integration into existing workflows.\u003c/p\u003e\n"]]],[],null,["# Publish a private app\n\nApps published through the Google Play Custom App Publishing API can never be\nmade public. They're subject to a lighter weight verification process than\npublic apps as a result, reducing publishing time to as little as five minutes\n(compared to over two hours via the Play Console).\n\nTo publish a private app for an enterprise, call\n[`Accounts.customApps.create`](/android/work/play/custom-app-api/v1/accounts/customApps/create),\npassing the enterprise's developer account ID as a parameter. The only required fields in\nthe request body are the title of the app and the app's default listing\nlanguage. Make sure that any private app you publish also meets the following\nrequirements:\n\n- The package name is unique to Google Play (not just unique to the developer account).\n- The title of the app is unique to the developer account.\n\nExample\n-------\n\n Path apkPath = Paths.get(\"PATH_TO_APK\");\n ByteArrayContent apk =\n new ByteArrayContent(\"application/octet-stream\", Files.readAllBytes(apkPath));\n\n CustomApp appMetadata =\n new CustomApp()\n .setTitle(\"APPLICATION TITLE\")\n .setLanguageCode(\"en_US\")\n .setOrganizations(\n List.of(\n new CustomAppOrganization()\n .setOrganizationId(\"C0123wxyz\")\n .setOrganizationName(\"My organization\")));\n\n CustomApps.Create request =\n apiClient.accounts() // Playcustomapp apiClient\n .customApps()\n .create(DEV_ACCOUNT_ID, appMetadata, apk);\n\n CustomApp response = request.execute();\n System.out.println(response);\n\nIf successful, the app will appear in the developer account's list of published\napps in the Play Console immediately. The app will be available for distribution\nto end users within five minutes.\n\nBy default, the published private app is only available to the organization\nlinked to the developer account. To set the organizations to which the\nprivate app should be made available, add the organization IDs to the\n`organizations` property.\n\n### Distributing private apps\n\n| **Note:** You must be a member of the [Android EMM Developer\n| Community](https://emm.androidenterprise.dev/) to use the Google Play EMM API to enable private app distribution. For more information, see the [EMM developer's\n| overview](/android/work/overview).\n\nPrivate apps are automatically approved when published, but aren't automatically\navailable to a user unless an enterprise IT admin explicitly grants them access\nto all approved apps. You can enable this feature in your EMM Console using\n[Users.setAvailableProductSet](/android/work/play/emm-api/v1/users/setAvailableProductSet)\n(set `productSetBehavior` to `\"allApproved\"`).\n\nYou can also use the same call to enable IT admins to allowlist specific apps\nfor a user (set `productSetBehavior` to `\"whitelist\"`).\nFor more information about how to add apps to a user's managed Google Play store,\nsee [Create custom store layouts](/android/work/play/emm-api/store-layout).\n\nUpdating a private app\n----------------------\n\nTo provide the best possible user experience for your enterprise customers,\nwe recommend integrating private app publishing alongside the app and store\nlisting update features available through the [Google Play Publishing API](https://developers.google.com/android-publisher/).\nDoing so gives IT admins the ability to publish, edit, and update private apps\ndirectly from your EMM console or IDE. You can use the same service account that\nyou created for private app publishing to authorize Google Play Publishing API\nrequests.\n\nYou or your enterprise customer can also update private apps and their store\nlisting details from the Play Console (for more information, see the [Play Console help center](https://support.google.com/googleplay/android-developer/)).\n\nStart coding with our client libraries\n--------------------------------------\n\nClient libraries for the Google Play Custom App Publishing API are available in\n[Java](https://developers.google.com/api-client-library/java/apis/playcustomapp/v1),\n[Python](https://developers.google.com/api-client-library/python/apis/playcustomapp/v1),\n[.NET](https://developers.google.com/api-client-library/dotnet/apis/playcustomapp/v1),\nand [Ruby](https://developers.google.com/api-client-library/ruby/apis/playcustomapp/v1).\n\nLearn more about Android Enterprise\n-----------------------------------\n\n- For more information about developing an EMM solution for Android, see [Android Enterprise](https://developers.google.com/android/work/).\n- For information about best practices for developing Android apps for enterprise distribution, see [Android for\n enterprise](https://developer.android.com/work/)."]]