Comments (10)
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.
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.
100% Samsung on Android 13 (from an app with 10m+ installs)
from play-billing-samples.
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.
Same issue using PBL 5.0!
Any updates???
from play-billing-samples.
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.
Issue seems to be occurring on Samsung devices running Android 13 (mostly while app is in background). Reference:
- https://stackoverflow.com/questions/76512231/do-samsung-phones-running-android-13-have-an-intent-bug
- https://community.revenuecat.com/sdks-51/how-to-fix-crash-too-many-bind-requests-999-for-service-intent-inappbillingservice-3317
- https://forum.developer.samsung.com/t/illegalstateexception-too-many-bind-requests-999-for-service-inte/28242
from play-billing-samples.
I am also using billingclient version 6.0.1 and faced the same issue. Is there any updates on this?
from play-billing-samples.
I am having the same issue.
from play-billing-samples.
Workaround - make sure that billingClient.startConnection()
is called only when app is in foreground
from play-billing-samples.
Related Issues (20)
- The queryProductDetailsAsync doesn't return the latest base plan and offer HOT 1
- Blank pop-up showing after launch Billing Flow HOT 2
- Android GPBL 6.0.0 : Getting multiple callback in OnBillingDisconnected & onBillingSetupFinished method. HOT 8
- In querySubscriptionPurchases() , after check !billingClient.isReady , should return ?
- Bug: inconsistent PricingPhases.getPricingPhaseList results, as some show a single item, and some show multiple HOT 9
- upgrade or downgrade HOT 1
- Able to purchase monthly subscriptions but not able to purchase annual subscriptions HOT 2
- ClassyTaxiServer deploy failed with non-zero exit code 2 HOT 3
- SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts HOT 2
- Store billing client inside Application scope HOT 4
- 最近发现端上无法获得平台配置的订阅商品优惠标签 HOT 1
- why not add ProductDetails.getOriginalJson for v5+?
- Price discounts for subscriptions with promo code
- Payment pop-up style issue
- Need help! Application changes orientation on start billing flow HOT 2
- All Java samples need to be upgraded to version 6.0.1 of the billing library HOT 2
- Switch Base Plan Error PG-GEMF-01 HOT 2
- Missing purchase in successful purchase result HOT 2
- why does 'not eligible for the free trial` show? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-billing-samples.