Skip to content

3.4.3

Compare
Choose a tag to compare
@yusuftor yusuftor released this 12 Oct 08:08
· 632 commits to master since this release
42ddc19

Enhancements

  • Exposes isPaywallPresented convenience variable.
  • Adds device_attributes event, which tracks the device attributes every new session.
  • Stops preloading paywalls that we know won't ever match.
  • Adds a .restored case to PurchaseResult and PurchaseResultObjc. Return this from your PurchaseController when you detect a user has tried to purchase a product that they've already purchased. This happens when transaction.transactionDate < purchaseDate, where purchaseDate is the date that the purchase was initiated. Check out RCPurchaseController.swift in our Superwall-UIKit+RevenueCat example app for how to implement this. If you let Superwall handle purchasing, then we will automatically detect this.
  • Adds restore_via_purchase_attempt to a transaction_restore event. This indicates whether the restoration happened due to the user purchasing or restoring.