package com.base.filerecoveryrecyclebin.billing

import androidx.lifecycle.DefaultLifecycleObserver
import com.android.billingclient.api.Purchase
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow

class BillingClientLifecycle : DefaultLifecycleObserver {

    private val _subscriptionPurchases = MutableStateFlow<List<Purchase>>(emptyList())
    val subscriptionPurchases = _subscriptionPurchases.asStateFlow()
}