Auto commit (MindMachine) Wed Apr 15 08:01:02 PM CDT 2026
This commit is contained in:
@@ -83,7 +83,7 @@ dependencies {
|
||||
|
||||
// Monetization
|
||||
implementation("com.google.android.gms:play-services-ads:23.1.0")
|
||||
implementation("com.android.billingclient:billing-ktx:7.1.1")
|
||||
implementation("com.android.billingclient:billing-ktx:8")
|
||||
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.1")
|
||||
|
||||
@@ -158,9 +158,8 @@ class MainActivity : ComponentActivity() {
|
||||
onNoAdsEntitlementChanged = { hasNoAds ->
|
||||
lifecycleScope.launch { settingsRepo.updateNoAds(hasNoAds) }
|
||||
},
|
||||
)
|
||||
).also { it.start() }
|
||||
}
|
||||
|
||||
private val vm: MainViewModel by viewModels {
|
||||
MainViewModel.Factory(
|
||||
settingsRepo,
|
||||
|
||||
@@ -48,7 +48,7 @@ class BillingManager(
|
||||
.build()
|
||||
|
||||
fun start() {
|
||||
log("BillingManager.start()")
|
||||
log("BillingManager.start() - isReady=${billingClient.isReady}")
|
||||
if (billingClient.isReady) {
|
||||
log("Billing client already ready")
|
||||
refresh()
|
||||
|
||||
Reference in New Issue
Block a user