-
Notifications
You must be signed in to change notification settings - Fork 303
first commit play billing snippets 09122025 #735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
first commit play billing snippets 09122025
kumann-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First commit of play billing snippets that will be used in the https://developer.android.com/google/play/billing DAC pages
| dependencies { | ||
|
|
||
| // OSS Plugin | ||
| implementation 'com.google.android.gms:play-services-oss-licenses:17.1.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependencies version must be defined in the Gradle version catalog instead of being hard-coded here to avoid different versions across our modules
| @@ -0,0 +1,45 @@ | |||
| /* Copyright 2022 Google LLC | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole folder is an Android Studio project. You should create a module within the existing project at the root level
| * <p>This class encapsulates the setup of the {@link BillingClient}, manages the connection | ||
| * lifecycle (including retries), queries product details, and notifies a listener. | ||
| */ | ||
| public class BillingServiceClient { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the code snippets expected to be migrated to Kotlin anytime soon?
first commit play billing snippets 09122025