Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can you add some constants of Google Play Billing API to your wrapped Google-IAP API? #98

Open
xyang5987 opened this issue Apr 10, 2023 · 2 comments

Comments

@xyang5987
Copy link

xyang5987 commented Apr 10, 2023

Can you add some constants of Google Play Billing API to your wrapped Google-IAP API? For example, Purchase.PurchaseState.PURCHASED...

@xyang5987 xyang5987 changed the title Can you add some constants of Google Play Billing API to your packaged Google-IAP API? Can you add some constants of Google Play Billing API to your wrapped Google-IAP API? Apr 10, 2023
@Skaldebane
Copy link
Contributor

The Google Play billing API is a transitive dependency of this library, so you should be able to use them directly from there.

Maybe it could be wrapped into something more Kotlin-y (like PurchaseState.Purchased being a class containing all the information about the purchase), but I don't see any real need for that.

@xyang5987
Copy link
Author

xyang5987 commented Apr 14, 2023

Thanks for reply. However, I don't want to add Google Play billing API but wrapped Google-IAP API only. So the architecture is more clear. It'll be helpful for future KMM applications.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants