RevenueCat / purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
https://www.revenuecat.com/
MIT License
2.32k stars 314 forks source link

Deprecate observer mode in 5.0 branch #3956

Closed jamesrb1 closed 3 months ago

jamesrb1 commented 3 months ago

Adds a PurchasesAreCompletedBy enum which is used to set if the RC SDK performs the purchase, formerly referred to as "observer mode". This replaces observer mode and finishTransactions. The change has only been made to public-facing APIs, internal ones will be renamed as part of a subsequent PR.

Other changes:

fire-at-will commented 3 months ago

Looking good! We'll also need to update a few tests in the StoreKit2IntegrationTests, the observer mode section in V5_API_Migration_guide.md, and probably the public documentation as well

jamesrb1 commented 3 months ago

Thanks for all your feedback on this @fire-at-will!!!