Companion
Functions
This function will be used to obtain all available products declared in RevenueCat. It is important that you have initialized the configuration from the function: Context.initPayment in your Application class.
Checks whether the user is subscribed or not.
Loads the current RevenueCat offering and the user's subscription information as a suspendable operation.
This function is used to make a purchase request for our products/subscriptions. Remember that in addition to having the products/offers declared in RevenueCat, you must also have them included in the Store.
Purchases a monthly or annual package using the configured RevenueCat offering.
Restoring purchases is a mechanism by which your user can restore their in-app purchases, reactivating any content that had previously been purchased from the same store account
Restores the purchases associated with the current store account.
If a person is already a subscriber, you can upgrade the subscription status from Annual to Monthly, or from Monthly to Annual. However, cancellations can only be made through the Store.