Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The library does not work with apps that do not use subscriptions #3

Open
MRZ07 opened this issue Jun 21, 2024 · 0 comments
Open

The library does not work with apps that do not use subscriptions #3

MRZ07 opened this issue Jun 21, 2024 · 0 comments

Comments

@MRZ07
Copy link

MRZ07 commented Jun 21, 2024

Subscriptions are still processed even when an empty subscription list is provided to the library, resulting in the following error:

Fatal Exception: java.lang.IllegalArgumentException
Product list cannot be empty.
com.android.billingclient.api.QueryProductDetailsParams$Builder.setProductList (com.android.billingclient:billing@@7.0.0:2)
com.funsol.iap.billing.FunSolBillingHelper.fetchAvailableAllSubsProducts (FunSolBillingHelper.kt:200)
com.funsol.iap.billing.FunSolBillingHelper.access$fetchAvailableAllSubsProducts (FunSolBillingHelper.kt:19)
com.funsol.iap.billing.FunSolBillingHelper$startConnection$1$onBillingSetupFinished$1$1.invokeSuspend (FunSolBillingHelper.kt:140)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.kt:115)
kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:100)
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.kt:584)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:793)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:697)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:684)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant