Created
April 25, 2019 02:30
-
-
Save rkotzy/209747709163ff8cf19016ff5295d87d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 3: - Show the user the offer to purchase and save a flag | |
// in local storage so we don't show again | |
self.presentPromoAlert(productDiscount, shouldPurchase: { | |
Purchases.shared.makePurchase(product, discount: discount, { (transaction, info, error, cancelled) in | |
self.configureCatContentFor(purchaserInfo: info) | |
}) | |
}) | |
// ... continued |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment