-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for async/await APIs #223
Comments
Hi @rudrankriyam |
@suriksarkisyan Just want to update you that they have added support for iOS 13+. It is available with Xcode beta 13.2, and hopefully, 13.2 should be released soon! |
Hi @rudrankriyam |
Hi @suriksarkisyan! I read this proposal on Concurrency Interoperability with Objective-C, and it has been implemented in Swift 5.5. So, I don't think you require to add support for it? I can use it like: if #available(iOS 13, *) {
let (result, canceled) = try await Qonversion.purchaseProduct(product)
let permissions = try await Qonversion.restore()
let offerings = try await Qonversion.offerings()
} And so on. I plan to use them in my app this weekend and let you know how it goes! |
Hi @rudrankriyam |
Hi @suriksarkisyan , I found out that the function However, I would expect that if the user cancelled the payment, that the function would not throw an error since this would be stored in the Do you plan to change this behavior or should I make a custom implementation? Thanks! |
Are there any plans to support the async/await APIs in the near future?
Thanks!
The text was updated successfully, but these errors were encountered: