Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose originalPurchaseDate in RCPurchaserInfo #36

Merged
merged 1 commit into from May 28, 2020

Conversation

aboedo
Copy link
Member

@aboedo aboedo commented May 21, 2020

added originalPurchaseDate to RCPurchaserInfo dict

@aboedo aboedo self-assigned this May 21, 2020
@aboedo
Copy link
Member Author

aboedo commented May 28, 2020

Adding tests for this is pretty tricky because we have to create a whole bunch of mocks. I'd like to improve our testing game, but I also don't want to delay this any further, since we've had it in the backlog for a while.

@aboedo aboedo marked this pull request as ready for review May 28, 2020 19:34
@aboedo aboedo requested a review from vegaro May 28, 2020 19:34
} else {
return NSNull.null;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move these two to NSDate+HybridAdditions.h?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that wouldn't work, unfortunately, because if the date is nil the func will no-op. it could be a static method, but I'm not sure it would add much value

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh got it

@aboedo aboedo merged commit 3fe976d into master May 28, 2020
@aboedo aboedo deleted the expose_original_purchase_date branch May 28, 2020 23:05
@vegaro vegaro mentioned this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants