From aff055607f902ca86e54f7a3033a4697283941f5 Mon Sep 17 00:00:00 2001 From: Surik Date: Thu, 10 Oct 2024 14:52:14 +0400 Subject: [PATCH] Fixed syncHistoricalData function logic --- Sources/Qonversion/Public/Qonversion.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Qonversion/Public/Qonversion.m b/Sources/Qonversion/Public/Qonversion.m index 173dd53a..506afe75 100644 --- a/Sources/Qonversion/Public/Qonversion.m +++ b/Sources/Qonversion/Public/Qonversion.m @@ -105,7 +105,7 @@ - (void)syncHistoricalData { return; } - [[Qonversion sharedInstance] restore:^(NSDictionary * _Nonnull result, NSError * _Nullable error) { + [[Qonversion sharedInstance].productCenterManager restoreTransactions:^(NSDictionary * _Nonnull result, NSError * _Nullable error) { if (error) { QONVERSION_LOG(@"❌ Historical data sync failed: %@", error.localizedDescription); } else {