Bug Issue: Google Play Billing Library


Pages: 1

RulezTeam

  • Subscriber - Stencyl Studio
  • *
February 26, 2021, 05:51:54 am
Please see post http://community.stencyl.com/index.php/topic,61575.0.html

    
Starting on August 2, 2021, all new apps must use Google Play Billing Library 3 or newer.

Starting on November 1, 2021, all updates to existing apps must use Google Play Billing Library 3 or newer.



Issue updated by Justin - February 26, 2021, 11:36:06 am
  • Tags added: 4.2.0


gcarne

  • Subscriber - Stencyl Studio
  • *
March 02, 2021, 08:53:04 am
The link in your post returns "An Error Has Occurred! "


Luyren

  • Master Stencyler
  • *
March 02, 2021, 05:38:15 pm
That link is for the subscribers-only section of the forums, and it is working fine.


Justin

  • Master Stencyler
  • *
March 02, 2021, 06:42:14 pm
I'll post my reply here as well so it's public.

----------

Ah, that's unfortunate. Looks like the AIDL we use is being phased out together with Billing Library V1 and V2. I guess we need to do it by August! If we want to give developers at least 3 months to update their apps, we would need to be done by May. I'll try to get to this before that though.

https://android-developers.googleblog.com/2020/06/meet-google-play-billing-library.html


Issue updated by Justin - April 04, 2021, 06:27:22 pm
  • Tags added: 4.1.x
  • Tags removed: 4.2.0


Justin

  • Master Stencyler
  • *
August 09, 2021, 02:32:19 pm
The iap blocks have been updated to use Google Play Billing Library v4. Stencyl 4.1.0-beta3/b10806.

It's a little later than the August 2nd deadline for new apps. Fortunately, very little has changed, so updating should be simple.

This introduces two new blocks:
Code: [Select]
< product with ID [___] is pending >
[ mark product with ID [___] as [consumable/non-consumable] ]

"mark product with ID as consumable/non-consumable" must be used before the "buy" block can be used. I'd recommend marking each product ID at the start of the game.
"pending" may be used to see if a transaction with a slow payment method is still being processed.

Additionally, the "free unmanaged" block is deprecated, and will cause a compilation error if it's used. All consumable purchases (determined by the "mark product with ID" block) are now freed automatically.
« Last Edit: August 09, 2021, 02:35:34 pm by Justin »


Issue updated by Justin - August 09, 2021, 02:35:50 pm
  • Status changed from New to Resolved


Issue updated by Justin - August 10, 2021, 02:25:11 am
  • Tags added: 4.1.0
  • Tags removed: 4.1.x


Pages: 1

Details

  • Reported
    February 26, 2021, 05:51:54 am
  • Updated
    August 10, 2021, 02:25:11 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags