AppSales-Mobile
AppSales-Mobile copied to clipboard
Reports not showing number of units
Is anyone else's reports today showing the days earnings but showing 0 for number of sales?
Same for me. No number of sales for oktober 10th.
here is quick fix of this issue.
diff --git a/Classes/Report.m b/Classes/Report.m
--- a/Classes/Report.m
+++ b/Classes/Report.m
@@ -281,7 +281,7 @@
if (transactionType) {
NSString *promoType = transaction.promoType;
//Some old reports have "FREE" as the promo code identifier for updates, in newer reports, the field is empty.
- if (promoType && ![promoType isEqualToString:@"FREE"]) {
+ if (promoType && ![promoType isEqualToString:@"FREE"] && ![promoType isEqualToString:@" "]) {
transactionType = [NSString stringWithFormat:@"%@.%@", transactionType, promoType];
}
NSInteger count = [[[transactionsByType objectForKey:productIdentifier] objectForKey:transactionType] integerValue];
This code does not fix for downloaded reports.
The code above worked for me. Need to delete the last zero-report first and update again.
This code for downloaded reports.
diff --git a/Classes/Report.m b/Classes/Report.m
--- a/Classes/Report.m
+++ b/Classes/Report.m
@@ -466,9 +466,13 @@
if (!combinedPaidTransactionTypes) {
combinedPaidTransactionTypes = [[NSSet alloc] initWithObjects:
@"1", //iPhone App
+ @"1. ", //iPhone App
@"1F", //Universal App
+ @"1F. ", //Universal App
@"1T", //iPad App
+ @"1T. ", //iPad App
@"F1", //Mac App
+ @"F1. ", //Mac App
@"IA1", //In-App Purchase
@"IA1. ", //In-App Purchase
@"IA9", //In-App Subscription
Great thanks :+1:
Hi, can you pull the patch ?
ok Regards, i go to close my issue
I've created new request. regards.
Still got the issue #184 ...