Closed onuracikgozdusyeri closed 1 year ago
@onuracikgozdusyeri according to the error, looks like that on the Android side Billing Library v5 was resolved for some reason, but for now Adapty can only work with Billing Library v4.
Did you add v5 dependency manually, or where did it come from? I think you can remove it since Adapty adds it out of the box
@vladd-g i did not add v5 manually but it is come from in_app_purchases package. can it be problem?
when i add 'com.android.billingclient:billing:4.0.0' manually at build.gradle . i get same error
@onuracikgozdusyeri yes, it can. Is in_app_purchases package being used in your project after adding Adapty, or you can remove it?
As for manually adding, you can try the following:
implementation('com.android.billingclient:billing') {
version {
strictly '4.0.0'
}
}
But please check if nothing fails because of in_app_purchases package (if you don't remove it) since the compatibility may be broken
@vladd-g thanks that is worked but i am getting crash when i try reload func in_app_purchases package :( when will adapty be upgraded to v5 . Is there any chance of using v5 or v4 depending on the package?
@onuracikgozdusyeri Do you need in_app_purchases package to be included? Since you can make purchases with Adapty
@vladd-g yeah we need :)
@onuracikgozdusyeri
i am getting crash when i try reload func in_app_purchases package
Sorry, I didn't get, could you please specify what kind of crash are you getting and when?
Btw, is it an option to downgrade in_app_purchases down to the latest with v4 in its dependencies?
@vladd-g we removed iap package thanks
App is crashing after the splash screen. When i remove meta-data in androidmanifest.xml project is building. Do i need to add code block to java or kotlin native code block?