We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b98f59 commit 8555404Copy full SHA for 8555404
Leanplum-SDK/Classes/Managers/LPRevenueManager.m
@@ -137,10 +137,12 @@ - (void)addTransaction:(SKPaymentTransaction *)transaction
137
NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL];
138
receipt = [NSData dataWithContentsOfURL:receiptURL];
139
} else {
140
+#if !TARGET_OS_MACCATALYST
141
#pragma GCC diagnostic push
142
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
143
receipt = transaction.transactionReceipt;
144
#pragma GCC diagnostic pop
145
+#endif
146
}
147
148
NSString *receiptBase64String = [LPUtils base64EncodedStringFromData:receipt];
0 commit comments