Skip to content

Conversation

@kumann-dev
Copy link
Collaborator

first commit play billing snippets 09122025

first commit play billing snippets 09122025
@snippet-bot
Copy link

snippet-bot bot commented Dec 9, 2025

Here is the summary of changes.

You are about to add 12 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Copy link
Collaborator Author

@kumann-dev kumann-dev left a 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'
Copy link
Contributor

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
Copy link
Contributor

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 {
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants