Skip to content

Commit

Permalink
Merge pull request #123 from qonversion/release/2.8.1
Browse files Browse the repository at this point in the history
Release/2.8.1
  • Loading branch information
suriksarkisyan authored Jan 27, 2021
2 parents 767330c + c6bdb47 commit 17a4c81
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: abd8b17fad6c7a0190b88f67e424c69f4bb5e3f9

COCOAPODS: 1.9.3
COCOAPODS: 1.10.0
2 changes: 1 addition & 1 deletion Qonversion.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Qonversion'
s.version = '2.8.0'
s.version = '2.8.1'
s.summary = 'qonversion.io'
s.description = <<-DESC
Deep Analytics for iOS Subscriptions
Expand Down
4 changes: 2 additions & 2 deletions Qonversion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 2.8.0;
MARKETING_VERSION = 2.8.1;
MODULEMAP_FILE = Framework/Qonversion.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.qonversion.Qonversion;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -1217,7 +1217,7 @@
"@loader_path/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 2.8.0;
MARKETING_VERSION = 2.8.1;
MODULEMAP_FILE = Framework/Qonversion.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.qonversion.Qonversion;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
2 changes: 1 addition & 1 deletion Sources/Qonversion/QNConstants.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "QNConstants.h"

NSString *const keyQVersion = @"2.8.0";
NSString *const keyQVersion = @"2.8.1";
NSString *const keyQUnknownLibrary = @"unknown";
NSString *const keyQUnknownVersion = @"unknown";
NSString *const keyQInternalUserID = @"keyQInternalUserID";
Expand Down
6 changes: 4 additions & 2 deletions Sources/Qonversion/QNProductCenterManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,12 @@ - (void)handlePurchasedTransaction:(SKPaymentTransaction *)transaction forProduc

- (void)handleRestoreCompletedTransactionsFinished {
if (self.restorePurchasesBlock) {
__block __weak QNProductCenterManager *weakSelf = self;
[self launch:^(QNLaunchResult * _Nonnull result, NSError * _Nullable error) {
QNRestoreCompletionHandler restorePurchasesBlock = [self.restorePurchasesBlock copy];
self.restorePurchasesBlock = nil;
QNRestoreCompletionHandler restorePurchasesBlock = [weakSelf.restorePurchasesBlock copy];
weakSelf.restorePurchasesBlock = nil;
if (result) {
[weakSelf.launchResult setPermissions:result.permissions];
run_block_on_main(restorePurchasesBlock, result.permissions, error);
} else if (error) {
run_block_on_main(restorePurchasesBlock, @{}, error);
Expand Down

0 comments on commit 17a4c81

Please sign in to comment.