Storekit 2 API missing in Xamarin iOS?

Published

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 ?

Source: Xamarin.ios Questions

Published
Categorised as Uncategorised Tagged , ,

Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq