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

Protects agains nil products or productIdentifiers #129

Merged
merged 2 commits into from
Oct 9, 2019

Conversation

vegaro
Copy link
Contributor

@vegaro vegaro commented Sep 30, 2019

We got a crash report that showed either the product, payment or productIdentifier was nil. I added some protective measures to avoid the crash. Can't really add unit tests since Swift is smart and can't really pass a nil product to makePurchase, but I passed a product without product identifier to reproduce the crash.

@vegaro vegaro merged commit 720e893 into master Oct 9, 2019
@vegaro vegaro deleted the bug/productid_nil_protection branch October 9, 2019 20:51
@aboedo aboedo mentioned this pull request Jul 13, 2021
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.

2 participants