简体   繁体   English

Android:为企业客户发布私有应用

[英]Android: publish private apps for enterprise customers

I see that on PlayStore I can publish a private app to my customers if they has a OrganizationId.我看到在 PlayStore 上,如果我的客户有 OrganizationId,我可以向他们发布私人应用程序。 I don't understand the role of "Play Custom App Publishing API","Android Management API ".我不明白“Play Custom App Publishing API”、“Android Management API”的作用。 Is possible to develop a private enterprise store based on playstore ?是否可以开发基于Playstore的私有企业商店? I'm confused.. The world of private app for enterprise is soo few documented我很困惑.. 企业专用应用程序的世界记录太少了

There are 3 types of app distribution available using the Google APIs:使用 Google API 可以使用 3 种类型的应用程序分发:

  1. Public Google hosted apps - The app is available through the Play Store and not restricted to a specific enterprise.公共 Google 托管应用程序- 该应用程序可通过 Play 商店获得,不限于特定企业。 This type is supported by the Android Management API using an application policy . Android Management API 使用应用程序策略支持此类型。
  2. Private Google hosted apps - The app is a private app (restricted to a single enterprise) but hosted by Google.私有 Google 托管应用程序- 该应用程序是私有应用程序(仅限于单个企业),但由 Google 托管。 This means your app will be uploaded privately to the Play Store and it will be available only to devices enrolled within your enterprise.这意味着您的应用将私下上传到 Play 商店,并且仅适用于您企业内注册的设备。 This type is supported by the Android Management API using a managed iFrame for uploading APK files and an application policy to deploy the apps. Android Management API 支持这种类型,使用托管 iFrame上传 APK 文件和应用程序策略来部署应用程序。 Deployment is the same as with public apps where you use the package name of the app.部署与使用应用程序包名称的公共应用程序相同。
  3. Private Self-Hosted apps - This type is fairly complex, but it does not require you to upload an APK to the Google Play store.私人自托管应用程序- 这种类型相当复杂,但不需要您将 APK 上传到 Google Play 商店。 Instead, you generate JSON meta data definitions of your APK and you only publish this meta data at Google.相反, 您生成APK 的JSON 元数据定义,并且仅在 Google 上发布此元数据。 When you'd like to install an app, Google are actually using that meta-data to fetch APK files from your enterprise server.当您想安装应用程序时,Google 实际上是在使用该元数据从您的企业服务器获取 APK 文件。

Options 1 and 2 work for both work profile and device owner enrollments, while Option 3 works only for device owner enrollments.选项 1 和 2 适用于工作资料和设备所有者注册,而选项 3 仅适用于设备所有者注册。 Furthermore, it seems it is only limited to the now closed EMM API .此外,它似乎仅限于现在关闭的 EMM API

The Play Custom App Publishing API is actually a way to manually create or update private APK uploads. Play Custom App Publishing API 实际上是一种手动创建或更新私有 APK 上传的方法。 So instead of using the Android Management API iFrame, you can use the publishing API to create your own in-house UI.因此,您可以使用发布 API 来创建自己的内部 UI,而不是使用 Android Management API iFrame。

Depending on what you exactly mean, you may be able to build your own private store using the private apps functionality and the Play Custom App Publishing API to build your own UI for publishing apps.根据您的确切意思,您可以使用私有应用功能和 Play 自定义应用发布 API 构建自己的私有商店,以构建自己的用于发布应用的 UI。 Be advised that there is a package name restriction imposed by the Play Store.请注意,Play 商店对软件包名称有限制。 There can be no 2 apps sharing the same package name uploaded to the Play Store .不能有 2 个应用程序共享相同的包名上传到 Play 商店 It does not matter if these are private apps, visible only for one enterprise.这些是否是私有应用程序并不重要,仅对一家企业可见。 This rule applies globally for the whole Play Store.此规则适用于整个 Play 商店。

Private Google hosted apps aren't restricted to a single enterprise .私人 Google 托管应用程序不限于单个企业 It can also be distributed to other organizations.它也可以分发给其他组织。 Each company, or "enterprise", that allows employees to use their phones for work or gives devices to employees, manages those devices and decides which apps are available.每个允许员工使用手机工作或向员工提供设备的公司或“企业”,管理这些设备并决定哪些应用程序可用。 If you don't want your app to be available to download from Play by consumer, but only by business that you've worked with, you might consider making your app "private" to just those companies that you work with.如果您不希望您的应用可供消费者从 Play 下载,而只能由您合作过的企业下载,您可以考虑将您的应用设为“私有”,仅供与您合作的公司使用。 Each company will need to give you their "Organization ID" or "Enterprise ID" to make your app visible to that company.每家公司都需要向您提供他们的“组织 ID”或“企业 ID”,以便该公司可以看到您的应用。

Private self-hosted apps are actually called Externally hosted private apps.私有自托管应用实际上称为外部托管的私有应用。 You can check this link for more information about externally hosted private apps.您可以查看此链接以获取有关外部托管的私有应用程序的更多信息。

For your use case, would it also work to use in-app purchases to enable app sales?对于您的用例,是否也可以使用应用内购买来实现应用销售?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何为客户保留旧的应用程序,而不是为 iOS 和 Android 的企业保留 - How to keep older apps for customers, not for Enterprise for both iOS and Android 使用 Google Play 发布私有 android 应用程序 - publish private android apps using Google Play 如何将B2B Android应用程序发布到外部企业 - How to publish B2B Android apps to external Enterprise 如何从Google Play控制台为想要使用MDM分发的客户发布私有应用? - How to publish private apps from google play console for customers, who wants to distribute it using MDM? 如何使用 Android 管理 API 在不同客户的多个 Play 商店中管理多个私人应用程序? - How to Manage Multiple Private Apps on Multiple play store of different customers using Android Management Apis? 如何在 Android Enterprise Work Profile 中调试应用程序 - How to debug Apps in Android Enterprise Work Profile 我可以在没有G Suite的情况下在Play商店上发布私人应用吗? - Can I publish private apps on the Play Store without G Suite? 如何合并我两个Android应用中的客户 - How to merge customers from two of my android apps 为多个客户端发布一个 Android 私有应用 - Publish a Android private app for multiple clients 使用私有源代码发布 android 库(免费) - Publish android library with private source code (Free)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM