PurchaseLogicWithCallback   
    Abstract class extending PurchaseLogic, providing methods for handling in-app purchases and restorations with completion callbacks rather than co-routines.
If you prefer to implement custom purchase and restore logic with coroutines, please implement PurchaseLogic directly.
Functions
Link copied to clipboard
                  This method is called by RevenueCat, which in turn calls performPurchaseWithCompletion where your app's custom purchase logic is performed.
Link copied to clipboard
                  abstract fun performPurchaseWithCompletion(activity: Activity, rcPackage: Package, completion: (PurchaseLogicResult) -> Unit)
Performs an in-app purchase for the specified package with a completion callback.
Link copied to clipboard
                  This method is called by RevenueCat, which in turn calls performRestoreWithCompletion where your app's custom purchase logic is performed.
Link copied to clipboard
                  abstract fun performRestoreWithCompletion(customerInfo: CustomerInfo, completion: (PurchaseLogicResult) -> Unit)
Restores previously completed purchases for the given customer with a completion callback.