Git Product home page Git Product logo

Comments (10)

leCandas avatar leCandas commented on June 18, 2024

Exactly same issue with some Samsung devices with billing 6.0.1

Fatal Exception: java.lang.IllegalStateException: Too many bind requests(999+) for service Intent { act=com.android.vending.billing.InAppBillingService.BIND pkg=com.android.vending cmp=com.android.vending/com.google.android.finsky.billing.iab.InAppBillingService (has extras) }
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2115)
at android.app.ContextImpl.bindService(ContextImpl.java:2024)
at android.content.ContextWrapper.bindService(ContextWrapper.java:870)
at com.android.billingclient.api.BillingClientImpl.startConnection(com.android.billingclient:billing@@6.0.1:64)

from play-billing-samples.

Zachary625 avatar Zachary625 commented on June 18, 2024

same here with PBL 5.0.0 this seems to be Samsung Android 13 bug but still hope we can get some insights

from play-billing-samples.

JRWilding avatar JRWilding commented on June 18, 2024

100% Samsung on Android 13 (from an app with 10m+ installs)

from play-billing-samples.

leCandas avatar leCandas commented on June 18, 2024

I had the same issue, only coming from Samsung devices.

Since I want to address this quickly.
I have surrounded the billingClient.startConnection(this); with a try catch block.
When I get an exception I just end the connection billingClient.endConnection(); billingClient = null;
And posting a delayed call to a handler to re-initilize the billingClient.

This approach will at least address the crash.

from play-billing-samples.

kolagit avatar kolagit commented on June 18, 2024

Same issue using PBL 5.0!
Any updates???

from play-billing-samples.

congdanh1608 avatar congdanh1608 commented on June 18, 2024

Any updates?
I don't know why I got many crashes from one app, but others did not.
I tried to downgrade the in-app billing SDK version, but it is not working.

from play-billing-samples.

igorwojda avatar igorwojda commented on June 18, 2024

Issue seems to be occurring on Samsung devices running Android 13 (mostly while app is in background). Reference:

from play-billing-samples.

npkhung92 avatar npkhung92 commented on June 18, 2024

I am also using billingclient version 6.0.1 and faced the same issue. Is there any updates on this?

from play-billing-samples.

ErickSorto avatar ErickSorto commented on June 18, 2024

I am having the same issue.

from play-billing-samples.

igorwojda avatar igorwojda commented on June 18, 2024

Workaround - make sure that billingClient.startConnection() is called only when app is in foreground

from play-billing-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.