Reputation: 2286
I have a legacy Xamarin.iOS app. This app uses store kit. to purchase products, but the method used is marked as obsolete. Here is the obsolete method used by the legacy app :
SKPayment.PaymentWithProduct(_subscription);
The compiler tells me this method is obsolete, and I should use "From Product" instead. I guess this means I should use the new Storekit 2 "Purchase" method that is found on the product class, as shown below IN Swift language:
let result = try await product.purchase()
But the issue is, I can't find this method in the SKProduct class in Xamarin.iOS How should I do please ?
Upvotes: 0
Views: 430
Reputation: 12615
StoreKit2 is not available in xamarin
https://github.com/jamesmontemagno/InAppBillingPlugin/issues/431
Upvotes: 1