-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
SDK 16.0.1 not working fully with Billing Client 5.0 - In-app purchase events are not sent. #1172
Comments
Please update it |
we experience the same issue |
+1 |
1 similar comment
+1 |
我在使用上面的版本SDK也是无法收到In-app purchase的事件记录,只能收到安装和启动的事件记录。 |
me too don't full work . no log iap event. |
|
in-app-purchase event not triggered. other events(install, custom events) triggers. When I researched in detail; Google Play Billing Library version 3.0.0 appears in facebook-android-sdk. However, google has declared the following regarding the billing version.
How can facebook-android-sdk still use v3? How can it be so outdated? |
Same trouble - no purchase events. Is there any solution? |
Checklist before submitting a bug report
Java version
1.8
Android version
13
Android SDK version
33
Installation platform & version
Gradle plugin 7.4.x
Package
Other / I don't know
Goals
Upate billing client to 5.0 or 5.1 in Facebook SDK to send properly In-app purchase events to Meta analytics console.
Expected results
In our project we already use Google Billing Client with version 5.0.
This billing client is suggested in Google Play developer console. (Should be always updated)
I want to use latest Facebook SDK with this client, but currently Facebook SDK use version 3.0.0 that can connect to Billing client in version 5.0 because of class missing.
We can't revert billing client to 4.0 because of already implemented migration from Billing client 4.0 to 5.0.
Actual results
In Facebool SDK Google client wrapper is missing class:
com.android.billingclient.api.Purchase$PurchasesResult
This class exist in billing 3.x an 4.x but on billingclient.api.Purchase in 5.0 version this is changed.
Because of that Facebook SDK can't create instance of InAppPurchaseBillingClientWrapper.
When constructor create instance, try to find class by name
com.android.billingclient.api.Purchase$PurchasesResult
and this class is missing. So wrapper is created, but instance is null.
Result of that is that SDK can't query purchases and send it automatically as events to Facebook platform.
Steps to reproduce
Use Google billing client in version 5.0 and Facebook SDK in version 16.0.1
Make in-app purchase and see that no events are sent.
No add to cart event and no purchase event.
Code samples & details
The text was updated successfully, but these errors were encountered: