libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
224 stars 83 forks source link

#220 support free trial period for subscriptions #227

Closed keesvandieren closed 4 years ago

keesvandieren commented 4 years ago

Subscriptions support free trial period before starting to charge for the subscription.

This PR adds the free trial period information for Google Play Billing and App Store Robovm implementation.

Verified the implementation with our own app (which has a free trial period of 3 days).

Not looked at any other implementations (such as Amazon or Huawei) as I'm not using them and thus are not able to test them. Those implementation will not expose the Free trial information even when there is actually one configured in one of those stores.

Can you have a look?

keesvandieren commented 4 years ago

@MrStahlfelge the review comments have been processed. Can you have a look?

MrStahlfelge commented 4 years ago

It's good to me! Merge yourself when you are fine with the change.

keesvandieren commented 4 years ago

Thanks! Merged PR

MrStahlfelge commented 4 years ago

Would be time for a new release because of the Huawei changes, too. What do you think of #221, shoud we include it?