google-play-billing
Google Play Billing Library for Android in-app purchases and subscriptions. Use for implementing IAP, managing products, handling purchases, validating transactions, and subscription management.
When & Why to Use This Skill
This Claude skill provides comprehensive assistance for integrating the Google Play Billing Library into Android applications. It streamlines the implementation of in-app purchases (IAP) and subscriptions, offering expert guidance on managing product catalogs, handling secure transactions, and ensuring compliance with official Google Play monetization standards.
Use Cases
- Implementing one-time digital products or recurring subscription models within Android applications.
- Debugging and resolving complex issues related to purchase tokens, transaction validation, and billing lifecycle events.
- Upgrading existing Android projects to the latest Google Play Billing Library versions (e.g., 7.0.0 or 8.0.0) with correct dependency configurations.
- Setting up robust testing environments for IAP using official documentation and best practices to ensure a seamless user checkout experience.
- Managing product metadata and subscription states effectively through the library's specialized APIs.
| name | google-play-billing |
|---|---|
| description | Google Play Billing Library for Android in-app purchases and subscriptions. Use for implementing IAP, managing products, handling purchases, validating transactions, and subscription management. |
Google-Play-Billing Skill
Comprehensive assistance with google-play-billing development, generated from official documentation.
When to Use This Skill
This skill should be triggered when:
- Working with google-play-billing
- Asking about google-play-billing features or APIs
- Implementing google-play-billing solutions
- Debugging google-play-billing code
- Learning google-play-billing best practices
Quick Reference
Common Patterns
Quick reference patterns will be added as you use the skill.
Example Code Patterns
Example 1 (python):
dependencies {
def billing_version = "8.0.0"
implementation "com.android.billingclient:billing:$billing_version"
}
Example 2 (python):
dependencies {
def billing_version = "8.0.0"
implementation "com.android.billingclient:billing:$billing_version"
}
Example 3 (python):
dependencies {
def billing_version = "8.0.0"
implementation "com.android.billingclient:billing:$billing_version"
}
Example 4 (python):
dependencies {
def billingVersion = 7.0.0
implementation "com.android.billingclient:billing:$billingVersion"
}
Example 5 (python):
dependencies {
def billingVersion = 7.0.0
implementation "com.android.billingclient:billing:$billingVersion"
}
Reference Files
This skill includes comprehensive documentation in references/:
- getting_started.md - Getting Started documentation
- library.md - Library documentation
- other.md - Other documentation
- products.md - Products documentation
- purchases.md - Purchases documentation
- subscriptions.md - Subscriptions documentation
- testing.md - Testing documentation
Use view to read specific reference files when detailed information is needed.
Working with This Skill
For Beginners
Start with the getting_started or tutorials reference files for foundational concepts.
For Specific Features
Use the appropriate category reference file (api, guides, etc.) for detailed information.
For Code Examples
The quick reference section above contains common patterns extracted from the official docs.
Resources
references/
Organized documentation extracted from official sources. These files contain:
- Detailed explanations
- Code examples with language annotations
- Links to original documentation
- Table of contents for quick navigation
scripts/
Add helper scripts here for common automation tasks.
assets/
Add templates, boilerplate, or example projects here.
Notes
- This skill was automatically generated from official documentation
- Reference files preserve the structure and examples from source docs
- Code examples include language detection for better syntax highlighting
- Quick reference patterns are extracted from common usage examples in the docs
Updating
To refresh this skill with updated documentation:
- Re-run the scraper with the same configuration
- The skill will be rebuilt with the latest information