How to test in-app-purchases easily, without publishing or signing it first?

前端 未结 4 611
长情又很酷
长情又很酷 2021-01-01 19:08

Background

My app has some in-app billing (like this one), and I wish to test it out before publishing it.

I\'ve watched some google IO lectures and read s

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-01 19:43

    Yes, you can test your app without publish (and without publish in beta mode too). There are instruction http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-test. Please remember that after 1 point it's maybe need to wait about hour or two.

    It seems that in the developer console, the in app items cannot be activated.

    it's ok, just check that you mark it as active. It look like not active before you publish the app, but you can test it.

    I can use my own google account, right?

    I strongly recommended have additional account only for test purchases.

    Also, suppose I do make a (fake) purchase, how do I reset it (all/specific purchases) in order to check it out again?

    You'll must to fill billing information for your test account. But when you make test purchase, there are no any real money transaction. Every in-app can be tested once again after the app consume it.

提交回复
热议问题