purchases-ios
purchases-ios copied to clipboard
In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
### Motivation _Coming soon_ ### Description - Badge discount is now done in processing logic (and not UI)
https://developer.apple.com/documentation/swiftui/text#Localizing-strings
⚠️ WIP ⚠️ ### Motivation _Coming soon_ ### Description - Changed `colorOverridesByTier ` to `colorsByTier` - No overriding behavior anymore - Changed `imageOverridesByTier ` to `imagesByTier` - No overriding behavior...
Quick PoC of loading images incrementally
Currently, `CustomerInfo` is returning `[NonSubscriptionTransaction]` for `nonSubscriptions`, which is good. However, for `activeSubscriptions`, it is returning `Set`. Now, imagine a situation where a `Customer` has purchased from one app a...
When initiating the package, it successfully loads my plans (logs: ["pc_199_1w", "pc_499_1m"]), but in simaltaneous requests claims `Error fetching offerings - The operation couldn’t be completed / There's a problem...
Alternative approach to #3875, also meant to address https://github.com/RevenueCat/purchases-ios/issues/3871 We're currently looking at a field called Environment in the local receipt to check whether the app is running in sandbox...
Addresses #3871 Solves the issue by ensuring that the calls to `isSandbox` are performed on a worker thread, and that we're pre-loading the values. I'm not a huge fan of...
## tl;dr PaywallView has a new constructor that takes `performPurchase` and `performRestore` blocks, which are called to preform purchasing/restore directly by the customer's app when the purchase/restore buttons are tapped...
- [x] I have updated Purchases SDK to the latest version - [x] I have read the [Contribution Guidelines](https://github.com/RevenueCat/purchases-ios/blob/main/Contributing/CONTRIBUTING.md) - [x] I have searched the [Community](https://community.revenuecat.com) - [x] I have...