Closed ddaddy closed 5 years ago
It might be caused by me having 2 Vendor ID's associated with this account as I previously changed from Independent to Company.
I can't do a pull request to fix this, but I have the fix.
In ReportDownloadOperation.m
line 457 NSDate *paidOrExpectedDate = [dateFormatter dateFromString:payment[@"paidOrExpectingPaymentDate"]];
Sometimes paidOrExpectingPaymentDate = "<null>"
so dateFromString
is causing a crash.
So before that line, please add
if (payment[@"paidOrExpectingPaymentDate"] == [NSNull null]) {
continue;
}
I've created a pull request for this fix.
Merged.
When I reinstall the app from scratch and refresh, on the initial loading of Payments it crashes. (I have temporarily hardcoded an accessToken so it can download latest reports).
It seems to download 1 payment which shows up, but the next payment seems to be Null.