thisisthekap / Xamarin.RevenueCat.Android

MIT License
7 stars 5 forks source link

Current bindings not working for Xamarin.Android.Google.BillingClient version 5 #44

Closed sanjuleo closed 1 year ago

sanjuleo commented 1 year ago

Hi As per Play store requirements, google billing client needs to be updated to minimum version 5. When I use billingclient 5 with Xamarin.RevenueCat.Android version 5.3.0.3, it throws an error - No virtual method queryPurchases(Ljava/lang/String;)Lcom/android/billingclient/api/Purchase$PurchasesResult; in class Lcom/android/billingclient/api/BillingClient; or its super classes (declaration of 'com.android.billingclient.api.BillingClient' appears in /data/app/~~zonVoIn7mBd2Q4MIbbZ6Vg==-Xh27zzonD3CpupkD6B7ofw==/base.apk)'

Please advise ASAP as I am stuck with it.

Thanks

CameronVetter commented 1 year ago

Have you made any progress on this issue @sanjuleo ?

sanjuleo commented 1 year ago

Yes, I have created bindings for new version. Thanks.

CameronVetter commented 1 year ago

Would you mind doing a PR of those @sanjuleo ?

malatx commented 1 year ago

I need this as well. Actually I'm sure nearly 100% of people using this need it.

CameronVetter commented 1 year ago

I need this as well. Actually I'm sure nearly 100% of people using this need it.

It turns out that this project is abandoned and the new bindings are in this one: https://github.com/thisisthekap/Tonestro.Maui.RevenueCat.Android

malatx commented 1 year ago

Ah, okay, thanks. That helps. But that package won't install into my Xamarin.Android project, and I am unfamiliar with "Maui" -- I guess I am forced to update everything to .net 7 just to use this package? @sanjuleo do you have bindings for RevenueCat 6 that work with Xamarin.Android, not only Maui?

malatx commented 1 year ago

I created a new bindings for RC 7.0.1 that does not require Maui.

thisisthekap commented 1 year ago

Fixed in https://github.com/thisisthekap/Xamarin.RevenueCat.Android/releases/tag/release-v7.0.1.3