jamesmontemagno / InAppBillingPlugin

Cross-platform In App Billing Plugin for .NET
MIT License
651 stars 152 forks source link

Deprecation alert #542

Closed francescovigot closed 1 year ago

francescovigot commented 1 year ago

Hi Despite, I use the 6.7 version, I got this alert in my google play developer console, I attached a screenshot. billing

jamesmontemagno commented 1 year ago

You need to upgrade to the 7.0-beta

francescovigot commented 1 year ago

But the latest version available in visual studio and Nuget is 6.7.0

francescovigot commented 1 year ago

Any news? please check the screenshot.

should I use this ? NuGet\Install-Package Plugin.InAppBilling -Version 7.0-beta

Untitled

broda02 commented 1 year ago

Change nuget to allow beta levels ?On 9 Jul 2023, at 16:24, Francesco Vigot @.***> wrote: Any news? please check the screenshot.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

francescovigot commented 1 year ago

I Installed the latest version of the IAB with this command " NuGet\Install-Package Plugin.InAppBilling -Version 7.0-beta"

but when I want to connect to the google play gateway, nothing happens

` public async Task PurchaseSubscription(string subId) {

        if (_isBusy)
            return;

        _isBusy = true;
        try
        {

            // check internet first with Essentials
            if (Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.Internet)
                return;

            // connect to the app store api
            var connected = await CrossInAppBilling.Current.ConnectAsync();
            if (!connected)
                return;

            //try to make purchase, this will return a purchase, empty, or throw an exception
            var purchase = await CrossInAppBilling.Current.PurchaseAsync(subId, ItemType.Subscription);
            ShowProgressDialog("Please Wait....");
            `