Enhancements
- Adds
CustomerInfo. This contains the latest information about all of the customer's purchase and subscription data. This can be accessed via the published propertySuperwall.shared.customerInfo, viaSuperwall.shared.getCustomerInfo(), via theAsyncStreamcustomerInfoStream, or via the delegate methodcustomerInfoDidChange(from:to:). This updates theEntitlementobject to have more properties such asstartsAtandexpiredAt. These can be used in audience filters. - Adds
Superwall.shared.entitlements.byProductIds(_:)to return aSetofEntitlementobjects belonging to a given set of product identifiers. - Changes the
PurchaseControllerexamples to account forCustomerInfochanges. - Adds
transaction_abandoncapability to web checkout payment sheet.
Fixes
- Fixes issue after purchasing web products where localized strings weren't correct in SDK wrappers like Expo.