Package-level declarations
Types
Link copied to clipboard
class AutomaticPurchaseController(var context: Context, val scope: IOScope, val entitlementsInfo: Entitlements, val getBilling: (Context, PurchasesUpdatedListener) -> BillingClient = { ctx, listener ->
try {
BillingClient
.newBuilder(ctx)
.setListener(listener)
.enablePendingPurchases(
PendingPurchasesParams.newBuilder().enableOneTimeProducts().build(),
).build()
} catch (e: Throwable) {
Logger.debug(
logLevel = LogLevel.error,
scope = LogScope.nativePurchaseController,
message = BILLING_INSANTIATION_ERROR,
info = mapOf("error_message" to (e.message ?: "Unknown message")),
error = e,
)
throw e
}
}) : PurchaseController, PurchasesUpdatedListener
Link copied to clipboard
A class that handles the Set of Entitlement objects retrieved from the Superwall dashboard.
Link copied to clipboard
data class GetProductsResponse(val productsByFullId: Map<String, StoreProduct>, val productItems: List<ProductItem>, val paywall: Paywall? = null)
Link copied to clipboard
class InternalPurchaseController(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, val context: Context) : PurchaseController
Link copied to clipboard
Link copied to clipboard
interface StoreKitManagerInterface
Link copied to clipboard
class StoreManager(val purchaseController: InternalPurchaseController, val billing: Billing, receiptManagerFactory: () -> ReceiptManager, track: suspend (InternalSuperwallEvent) -> Unit = {
Superwall.instance.track(it)
}) : ProductsFetcher, StoreKit