DebugRevenueCatScreen
fun DebugRevenueCatScreen(onPurchaseCompleted: (StoreTransaction) -> Unit, onPurchaseErrored: (PurchasesTransactionException) -> Unit)
Composable function that allows to display the debug screen as any part of the screen in your composable tree.
Parameters
onPurchaseCompleted
Callback that will be called when a purchase is completed within the debug screen.
onPurchaseErrored
Callback that will be called when a purchase fails or is cancelled within the debug screen.