Storekit 2 API missing in Xamarin iOS?


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 :


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

Categorised as Uncategorised Tagged , ,


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