subscription-states

Determine user subscription states on the RevenueCat Android platform.

45|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/RevenueCat/play-billing-skills --skill subscription-states
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-states
Source: https://github.com/RevenueCat/play-billing-skills/tree/main/revenuecat/subscription-states
Command: npx skills add https://github.com/RevenueCat/play-billing-skills --skill subscription-states

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill assists in managing and querying RevenueCat Android subscription states, ensuring that user access is correctly managed based on subscription information.

Core Features & Use Cases

  • Subscription State Management: Checks and manages various states like active, cancelled, on hold, etc.
  • Access Control: Determines user access based on isActive and provides detailed context with other fields.
  • Use Case: When a user wants to check if a subscription is active, this Skill can determine the state and offer appropriate UI updates, such as showing or hiding premium content.

Quick Start

Check the subscription state for user 'user123'.

Frequently Asked Questions about subscription-states

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a RevenueCat Android subscription is active?

To check if a RevenueCat Android subscription is active, call Purchases.sharedInstance.awaitCustomerInfo() and verify the isActive field within the returned EntitlementInfo object to determine user access.

What subscription states can I manage using RevenueCat CustomerInfo on Android?

Using RevenueCat CustomerInfo on Android, you can manage subscription states including active, cancelled, and on hold by evaluating EntitlementInfo fields to control access and update UI accordingly.

How does EntitlementInfo work for verifying RevenueCat subscription access?

EntitlementInfo works for verifying RevenueCat subscription access by providing detailed state fields like isActive, allowing you to determine if a user currently holds valid premium access and respond with appropriate UI updates.

Can I use this approach to manage access control for cancelled or on-hold subscriptions?

Yes, you can manage access control for cancelled or on-hold subscriptions by querying CustomerInfo via the RevenueCat Android SDK and checking the various EntitlementInfo fields to restrict or grant access appropriately.

Do I need to call awaitCustomerInfo every time to get the latest subscription state?

You need to call Purchases.sharedInstance.awaitCustomerInfo() to fetch the latest CustomerInfo containing EntitlementInfo fields, which ensures accurate subscription state verification and access control for your Android app users.