简体   繁体   English

Android应用程序的Beta测试人员如何将生产和Beta应用程序安装在同一设备上?

[英]How can a Beta-tester of android applications to have installed both production and beta app in the same device?

I need that my beta testers have the beta app to let them test it but at the same time they must to have the production app to work in production. 我需要我的Beta测试人员拥有Beta版应用程序才能对其进行测试,但同时,他们必须具有生产版应用程序才能在生产环境中工作。 The problem is that seems if they become a beta tester only can get the beta app from the Google Play. 问题在于,如果他们成为Beta测试人员,则只能从Google Play获得Beta版应用。

There is a way to have both version in the same device without to have to change the app name? 有没有一种方法可以将两个版本都放在同一设备上而无需更改应用程序名称?

Thanks a lot. 非常感谢。

At the moment this is not possible by design. 目前,这不可能通过设计实现。 Beta testers are ideally users who get a slightly earlier version of your app, and use it day to day so you discover issues. Beta测试人员是理想的用户,他们会获得应用程序的较早版本,并每天使用它,以便您发现问题。 The thinking behind this decision was that if you allowed both, then if issues were discovered beta users wouldn't report them, they would just switch to the prod app. 该决定背后的想法是,如果您同时允许两者,则如果发现问题,则beta用户不会报告他们,他们只会切换到prod应用程序。 Also, as an app developer the beta version should be "production ready" according to your internal QA. 另外,作为应用开发人员,根据您的内部质量检查,测试版应“可以投入生产”。

This has value for other reasons. 这还有其他原因的价值。 Beta users can't leave public reviews - instead they send private feedback. Beta版用户无法发表公开评论-而是发送私人反馈。 If you allowed both, then you wouldn't be able to have this feature. 如果两者都允许,那么您将无法使用此功能。

A few well known apps (like Chrome) want users to be able to have both apps. 一些知名的应用程序(例如Chrome)希望用户能够同时拥有这两个应用程序。 For these apps, they have a separate package name for the Beta version and maintain a separate store listing: Chrome Beta , Chrome . 对于这些应用程序,它们具有Beta版本的单独程序包名称,并维护单独的商店清单: Chrome BetaChrome

If you did this it would allow both to be installed. 如果执行此操作,则将允许两者都安装。 But you would have to maintain two store listings, two sets of reviews etc. 但是您将必须维护两个商店清单,两组评论等。

The short answer is No, it can't be done. 简短的回答是“不,这无法完成”。

Update: it turns out the suggestion below is not true... 更新:事实证明以下建议不正确...

But you could sort of achieve this by defining multiple user accounts on the device. 但是您可以通过在设备上定义多个用户帐户来实现此目的。 Create a second user account on the device that uses a different, not-in-the-beta Google account. 在使用不同的非Beta版Google帐户的设备上创建第二个用户帐户。 User accounts have their own distinct set of installed apps, so you could then switch between the two user accounts to use the beta or prod app. 用户帐户具有各自不同的已安装应用程序集,因此您可以在两个用户帐户之间切换以使用beta或prod应用程序。

After some developments after releasing the app to production a bug was reported that I couldn't replicate in the latest version. 在将应用程序发布到生产环境中进行了一些开发后,据报道我无法在最新版本中进行复制。 So I needed to check the production version. 所以我需要检查生产版本。 As they both have the same name I knew I couldn't have both, so I tried to replace the beta version by the production one. 因为它们都具有相同的名称,所以我知道我不能同时拥有两者,因此我尝试用正式版替换Beta版。

This is what I found out about how to do it. 这就是我发现的方法。

Step 1. In my phone I went to the app page but the store insisted to install the beta version. 步骤1.在我的手机中,我转到了应用程序页面,但商店坚持要安装beta版本。

Step 2. In my phone change the account to one whithout beta test access. 第2步。在我的手机中,将该帐户更改为没有Beta测试访问权限的帐户。 The play store detected the other account and installed the beta version. Play商店检测到另一个帐户并安装了Beta版本。

Step 3. Finnaly I went to the store in my desktop and logged in whith the normal account I have on my device! 步骤3.最后,我去了我台式机上的商店,并用我在设备上拥有的普通帐户登录了! This worked! 这工作了! The production version was in my phone and I could test it! 生产版本在我的手机中,我可以对其进行测试!

So my solution to you is this: 因此,我对您的解决方案是:

You can't have the two versions simultaneously in the same phone except if they have different names. 您不能在同一部手机中同时使用这两个版本,除非它们的名称不同。 But you can replace the beta by the production one if you have two accounts on the phone and 但是,如果您在手机上有两个帐户,并且可以将生产版Beta替换为生产版Beta,

A) Loggout from the account with access to the beta version and then install the production one, A)从具有Beta版访问权限的帐户注销,然后安装正式版,

or 要么

B) Install from a desktop. B)从桌面安装。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM