jamesmontemagno / InAppBillingPlugin

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

Cannot convert from 'Plugin.InAppBilling.ItemType' to 'bool' #348

Closed dirkzp closed 3 years ago

dirkzp commented 3 years ago

Hi,

After updating to newest Version, I got the follwing error calling this:

var connection = await billing.ConnectAsync(ItemType.Subscription); if (!connection) { return false; } --> Cannot convert from 'Plugin.InAppBilling.ItemType' to 'bool'

I read your documentation and it seems there was no changes on this line? Thanks.

jamesmontemagno commented 3 years ago

You no longer need to pass this in for version 4