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 a8b707f commit 99cd680Copy full SHA for 99cd680
ios/PCAppsFlyer.m
@@ -43,11 +43,14 @@ @implementation PCAppsFlyer
43
BOOL sandbox = [config[sandboxKey] boolValue];
44
45
[connector setIsSandbox:sandbox];
46
-
47
- if (logSubscriptions) {
+
+ if (logSubscriptions && logInApps) {
48
+ [connector setAutoLogPurchaseRevenue:AFSDKAutoLogPurchaseRevenueOptionsAutoRenewableSubscriptions | AFSDKAutoLogPurchaseRevenueOptionsInAppPurchases];
49
+ }
50
+ else if (logSubscriptions) {
51
[connector setAutoLogPurchaseRevenue:AFSDKAutoLogPurchaseRevenueOptionsAutoRenewableSubscriptions];
52
}
- if (logInApps) {
53
+ else if (logInApps) {
54
[connector setAutoLogPurchaseRevenue:AFSDKAutoLogPurchaseRevenueOptionsInAppPurchases];
55
56
0 commit comments