简体   繁体   English

如何测试在应用程序购买。 Google Play

[英]How to test In app purchase. Google Play

I want to test In app purchase in my application and I have few questions about that. 我想在我的应用程序中测试应用内购买,我对此几乎没有任何疑问。

  1. How long should I wait (few hours, fewa days)until I get Google Play link into my application for my testers? 我应该等多久(几个小时,几天),直到我将Google Play链接到我的测试人员的应用程序中? ( I mean this link in: Google Play Developers console -> All application -> APK -> Bta Testing -> Manage list of testers ) (我的意思是这个链接:Google Play开发者控制台 - >所有应用程序 - > APK - > Bta测试 - >管理测试人员列表)

  2. If I change my APK 'Upload new APK to Beta' this waiting process for link will start over again or can I use the same link for test? 如果我更改了我的APK'将新APK上传到Beta',此链接的等待过程将重新开始,还是我可以使用相同的链接进行测试?

  3. Am I need to publish my app first before I get this link ? 在获得此链接之前,我是否需要先发布我的应用程序? I mean my app is beta so it will be available only for my testers but am I need to publish it in 'Game Services' tab. 我的意思是我的应用程序是测试版,所以它只适用于我的测试人员,但我需要在“游戏服务”标签中发布它。

  4. I uploaded my app yesterday into my phone via USB cable. 我昨天通过USB线将我的应用程序上传到手机中。 When I try to test 'In app purchase' I got information: 'Conection Responce: 0 Setup succesful ( responce: 0:OK). 当我尝试测试'In app purchase'时,我得到了信息:'Conection Responce:0 Setup successcesful(responce:0:OK)。 ' Then typical window of Google Play opened but I got this information: 'Authentication is required. '然后Google Play的典型窗口打开了,但我收到了以下信息:'需要身份验证。 You need to sign into your Google Account.' 您需要登录自己的Google帐户。 But I was using google account in my phone. 但我在手机中使用谷歌帐户。 Do you think I did something wrong in my code of application or because I tried test it in application that I uloaded via USB cable instead install it from Google Play site? 您认为我在我的应用程序代码中做错了什么,或者因为我尝试在我通过USB线缆卸载的应用程序中测试它而不是从Google Play网站安装它?

Ps. PS。 I'm using Samsung Galaxy S6 我正在使用三星Galaxy S6

Thanks. 谢谢。

There are two places where you need to publish something for an app that uses Google Play Games Services to make it available to beta testers. 您有两个地方需要为使用Google Play游戏服务的应用发布内容,以便将其提供给Beta测试人员。

  1. Under the "All Applications" section (Android icon in the left frame), select your app, then go to the "APK" subsection to publish it for beta testing. 在“所有应用程序”部分(左侧框架中的Android图标)下,选择您的应用程序,然后转到“APK”子部分将其发布以进行Beta测试。

  2. Under the "Game Services" section (game controller icon in the left frame), select your app, then select "Publishing" to make Google Play Games Services available to the users of your app. 在“游戏服务”部分(左侧框架中的游戏控制器图标)下,选择您的应用程序,然后选择“发布”以向您的应用用户提供Google Play游戏服务。

Both of these steps will require you to fill in additional information in other sections as prerequisites for publishing. 这两个步骤都要求您在其他部分填写其他信息作为发布的先决条件。

After publishing in either of these sections it will take a few hours for publishing to take effect. 在这两个部分中发布后,发布将需要几个小时才能生效。 When you publish an app for the first time you will get the link to your published app only once the publishing step has completed. 当您第一次发布应用程序时,只有在发布步骤完成后才会获得指向已发布应用程序的链接。 The link is available from the "APK" subsection that I referenced above. 该链接可从我上面引用的“APK”子部分获得。 The link will remain unchanged when you re-publish the app. 重新发布应用程序时,链接将保持不变。 Your testers will receive the latest available published version of your app when they follow the link. 您的测试人员会在关注该链接后收到应用的最新可用发布版本。 Re-publishing can take a few hours as well, so your testers would see the old version until that's done. 重新发布也可能需要几个小时,因此您的测试人员会看到旧版本,直到完成。

A user of the app needs to sign into Google Play Games Services as an additional step even when they are already signed into their Google account on the phone. 该应用的用户需要登录Google Play游戏服务作为额外步骤,即使他们已经在手机上登录了他们的Google帐户。

Hope this helps. 希望这可以帮助。

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

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