با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برنامههای منتشر شده از طریق Google Play Custom App Publishing API هرگز نمیتوانند عمومی شوند. در نتیجه، نسبت به برنامههای عمومی، روند تأیید وزن کمتری دارند و زمان انتشار را به پنج دقیقه کاهش میدهد (در مقایسه با بیش از دو ساعت از طریق کنسول Play).
برای انتشار یک برنامه خصوصی برای یک شرکت، با Accounts.customApps.create تماس بگیرید و شناسه حساب توسعه دهنده شرکت را به عنوان پارامتر ارسال کنید. تنها فیلدهای ضروری در متن درخواست، عنوان برنامه و زبان فهرست پیشفرض برنامه است. مطمئن شوید که هر برنامه خصوصی که منتشر میکنید شرایط زیر را نیز برآورده میکند:
نام بسته برای Google Play منحصر به فرد است (نه فقط منحصر به حساب توسعه دهنده).
عنوان برنامه برای حساب توسعه دهنده منحصر به فرد است.
در صورت موفقیت آمیز بودن، برنامه بلافاصله در لیست برنامه های منتشر شده حساب توسعه دهنده در کنسول Play ظاهر می شود. این برنامه در عرض پنج دقیقه برای توزیع برای کاربران نهایی در دسترس خواهد بود.
به طور پیشفرض، برنامه خصوصی منتشر شده فقط برای سازمانی که به حساب توسعهدهنده مرتبط است در دسترس است. برای تنظیم سازمانهایی که برنامه خصوصی باید در دسترس آنها قرار گیرد، شناسههای سازمان را به ویژگی organizations اضافه کنید.
توزیع برنامه های خصوصی
برنامههای خصوصی زمانی که منتشر میشوند بهطور خودکار تأیید میشوند، اما بهطور خودکار در دسترس کاربر قرار نمیگیرند، مگر اینکه یک سرپرست فناوری اطلاعات سازمانی صراحتاً به آنها اجازه دسترسی به همه برنامههای تأییدشده را بدهد. می توانید با استفاده از Users.setAvailableProductSet این ویژگی را در کنسول EMM خود فعال کنید ( productSetBehavior را روی "allApproved" تنظیم کنید).
همچنین میتوانید از همین تماس برای فعال کردن سرپرستان فناوری اطلاعات در فهرست مجاز برنامههای خاص برای یک کاربر استفاده کنید ( productSetBehavior را روی "whitelist" قرار دهید). برای اطلاعات بیشتر درباره نحوه افزودن برنامهها به فروشگاه Google Play مدیریت شده کاربر، به ایجاد طرحبندیهای فروشگاه سفارشی مراجعه کنید.
به روز رسانی یک برنامه خصوصی
برای ارائه بهترین تجربه کاربری ممکن برای مشتریان سازمانی خود، توصیه میکنیم انتشار برنامه خصوصی را در کنار ویژگیهای بهروزرسانی فهرست برنامه و فروشگاه که از طریق Google Play Publishing API در دسترس است، ادغام کنید. انجام این کار به مدیران فناوری اطلاعات امکان انتشار، ویرایش و بهروزرسانی برنامههای خصوصی را مستقیماً از کنسول EMM یا IDE شما میدهد. میتوانید از همان حساب سرویسی که برای انتشار برنامه خصوصی ایجاد کردهاید، استفاده کنید تا درخواستهای Google Play Publishing API را مجاز کنید.
شما یا مشتری سازمانی شما همچنین میتوانید برنامههای خصوصی و جزئیات فهرست فروشگاه آنها را از کنسول Play بهروزرسانی کنید (برای اطلاعات بیشتر، به مرکز راهنمایی کنسول Play مراجعه کنید).
کدنویسی را با کتابخانه های مشتری ما شروع کنید
کتابخانه های سرویس گیرنده برای Google Play Custom App Publishing API در جاوا ، پایتون ، دات نت و روبی موجود است.
درباره Android Enterprise بیشتر بدانید
برای اطلاعات بیشتر در مورد توسعه راه حل EMM برای Android، به Android Enterprise مراجعه کنید.
برای کسب اطلاعات در مورد بهترین روشها برای توسعه برنامههای Android برای توزیع سازمانی، به Android برای سازمانی مراجعه کنید.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\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/)."]]