Ask a Question
Back to All

Swift - How to restore a specific purchase


I tried to restore a specific purchase but without sucess..

In the doc, on this link https://documentation.qonversion.io/docs/making-purchases

We can see :

Qonversion.restore { [weak self] (permissions, error) in
if let error = error {
// Handle error

if let permission: Qonversion.Permission = permissions["plus"], permission.isActive {
// Restored and permission is active

My question is how can we restore a purchase with it's permission id or something like this?

Thank you in advance,
Best regards.