How to Configure In App Purchase Testing Account in Android 2023 - Full Steps

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 10

  • @jonjonjonjonjonjon
    @jonjonjonjonjonjon 8 месяцев назад +2

    Not sure if this was true at the time of writing [videoing?] but you don't need to compile a release build and upload just for testing, just run the debug version to your phone as usual [signed in with your dev account] and you get granted a 'test' credit card.

  • @pablogodoy6645
    @pablogodoy6645 Год назад

    Thank you for the video! It's really helpfull.

  • @realvalue8090
    @realvalue8090 Год назад +2

    Hello Sir,
    Thanks a lot.
    Please reply to my query.
    Your tutorial is very helpful to the app developers especially for implementing the premium version in an app
    I have a question, I will be very grateful to you if you kindly reply to the query below:
    When we create a Subscription , then first we need to set a product Id( it allows us to use underscore, here the subscription id looks like "my_subs_monthly_id"). But under each subscription, it is mandatory to create a base plan. Creating more than one base plan is optional but we must create at least one base plan. When creating a base plan under a subscription, here we also need to set the id of the base plan( here it does not allow us to use the underscore, it allows hyphen instead). Each subscription may have multiple base plans(for example: weekly, monthly, yearly etc. and the id of a base plan looks like "my-subs-monthly-id" and so on...). However, now my question is that when we create the showProducts() method, then which id should we use there( subscription id or base plans' id or all?).
    I mean which id should be used in ....setProductId(which_id_here).setProductType(BillingClient.ProductType.SUBS)

    • @SharCourse
      @SharCourse  Год назад

      Hi.
      Thank you for checking out my videos.
      I like how you explained the Product Id(Parent) and the Base Id (Children)
      The quick answer is on showProducts(), you need to use the ProductId with an underscore.
      check my explanation.
      Base Ids are used to offer multiple product offers in one product,
      for example, you can have the ProductId (Monthly_Id) and have three offers (Base-Id-1 for $2, Base-Id-2 for $5, Base-Id-3 for $8, etc...)

    • @realvalue8090
      @realvalue8090 Год назад

      @@SharCourse Thank you sir for your explanation.
      I have a little confusion yet. There are options to create an offer separately inside a base plan. I mean we can create multiple offer plans inside a base plan.
      let me explain:
      Suppose I have created a subscription with the id "my_subs_id"
      Then I have created three base plans under this subscription
      namely:
      1. "my-subs-weekly-id",
      2. "my-subs-monthly-id" and
      3. "my-subs-yearly-id"
      Then I have created 3 offer plans one inside each plan
      namely:
      "10-percent-discount-offer-id" under the base plan 1
      "20-percent-discount-offer-id" under the base plan 2
      and
      "40-percent-discount-offer-id" under the base plan 3
      Now my question is if we use the main id(the id with underscore) inside the showProduct() method, then where to use the base plan ids and offer ids?
      It will be very helpful to me if you explain this query.
      Thaks again.

  • @RajaMallick1999
    @RajaMallick1999 Год назад

    How about Disable ads after in-app purchase Boolean? A video please

    • @SharCourse
      @SharCourse  Год назад

      Hi. I already have a video covering the ads remove/disable - ruclips.net/video/djWvfgJ-7wo/видео.html
      Check on time 11:07, After the purchase i'm setting remove ads to 1 (prefs.setRemoveAds(1))
      You can use a boolean instead of a 1
      like prefs.setRemoveAds(true)

    • @RajaMallick1999
      @RajaMallick1999 Год назад

      @@SharCourse facebook ads Disabled Boolean same

  • @RajaMallick1999
    @RajaMallick1999 Год назад

    facebook ads Disabled Boolean how? A video please

    • @SharCourse
      @SharCourse  Год назад

      Thank you for the request, a video has been posted