mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-10 22:45:55 +05:45
Follow up to #1557. Subtask of #1382 ### Description This PR aims to clear the stuff in the cache when the Storefront changes. Changes: - Add `clearCachedOfferings` method to `DeviceCache`. - Add `clearCache` method to `ProductFetcherSK1`. - Make `internal` the `clearCache` method in `ProductsFetcherSK2`. - Handle the **Storefront** changes in the `PurchasesOrchestator`. - Add tests to cover some scenarios.