Commit Graph
38 Commits
Author SHA1 Message Date
Facundo Menzella 6b5c430082 chore: Enable force_unwrapping for SwiftLint (#4820)
* enable force_unwrapping

* avoid force unwrap

* fixed all errors

* remove extra disable
2025-02-26 12:40:49 +01:00
Facundo Menzella d2271db8c5 chore: Delete .orig file and ignore in git ignore (#4821)
* chore: Remove .orig file

* ignore orig files
2025-02-26 12:21:35 +01:00
Facundo Menzella 8c4bb07e08 feat: Hide refund for purchases in trial period (#4823) 2025-02-26 12:04:21 +01:00
Facundo Menzella c1e96e00d6 feat: Don't show refund if free subscription (#4805)
* Added refund_window

* missing tests

* feat: Support refund_window to hide refund path

* removed docs

* removed docs

* fixed previews

* fixed RC tests

* Update Tests/TestingApps/PaywallsTester/PaywallsTester/Config/ConfigItem.swift

* nits

* Use customercenter reuqested date

* feat: Don't show refund if free

* add comments

* requestDate from customerInfo
2025-02-25 13:31:58 +01:00
Facundo Menzella 75471965de feat: Introduce refund window to control if a refund is offered for a purchase (#4784) 2025-02-25 13:13:49 +01:00
Facundo Menzella 84172d47ef fix: Track impression in CustomerCenter only once (#4778)
* fix: Track impression in CustomerCenter only once

* add extra tracks
2025-02-12 16:54:29 +01:00
Cesar de la Vega ce5be1b895 Fix for survey answered event not being tracked when not setting a customerCenterActionHandler (#4777)
* fix event not being tracked

* add tests
2025-02-10 17:37:09 +01:00
Facundo Menzella 5354cbe62c feat: Dont show cancel path if lifetime subscription (#4755)
* feat: Dont show cancel path if lifetime subscription

* added variable + tests

* add lifetime sub check

* nits

* remove extra loding path

* Renamed isLifetime

* Added docs
2025-02-07 11:14:37 +01:00
Facundo Menzella ed529c9a66 feat: Enable cancellation in CustomerCenter for catalyst (#4768) 2025-02-07 11:13:13 +01:00
Facundo Menzella df8dc08ba1 fix: Revisit environment values for CustomerCenter (#4723) 2025-01-29 17:08:09 +01:00
Facundo Menzella ab62be609d feat: Add debug section for purchase detail (#4702) 2025-01-27 11:03:14 +01:00
2e01518612 [AUTOMATIC] Release/5.15.0 (#4692)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
2025-01-22 15:54:29 +01:00
Facundo Menzella 377a57502d refactor: [CustomerCenter] Improve syntax for CommonLocalizedString (#4688) 2025-01-21 12:20:34 +01:00
Facundo Menzella 475a72b470 feat: [CustomerCenter] Introduce PurchaseHistory (#4686) 2025-01-21 10:06:06 +01:00
Will Taylor 6c4256ab07 use SK2 RenewalInfo to get renewal prices & currency 2024-12-20 07:50:30 -06:00
Cesar de la Vega 936d66affe Fix loading Customer Center when entitlement is granted by another Apple app (#4603) 2024-12-17 16:05:59 +01:00
Cesar de la Vega f3ad189197 Add ErrorView to CustomerCenter (#4574) 2024-12-12 12:36:19 +01:00
Will Taylor 83cc3f8f94 Calculate restore results based on presence of purchases (#4576) 2024-12-12 11:45:22 +01:00
Will Taylor f87bd03aed Support toggling update warnings & show update in restore flow 2024-12-11 15:16:15 -06:00
Will Taylor fa27846b0d Always reload CustomerInfo when Customer Center is loaded 2024-12-11 14:45:02 -06:00
Cesar de la Vega 24d66605ea Refactors the creation of the subscription details in Customer Center (#4515) 2024-12-11 20:55:22 +01:00
Cesar de la Vega eb334dec67 Add feedback survey option chosen event (#4528) 2024-12-10 14:31:57 +01:00
Cesar de la Vega b27785dffd renames to isWebLink (#4535) 2024-12-04 19:32:46 +01:00
Cesar de la Vega 3f4c4eb6c5 Customer Center deeplinks should always be opened externally (#4533)
* check if it's a deeplink

* match http or https

* add log
2024-12-04 18:20:55 +01:00
Cesar de la Vega a5f86e562a Fix build for app extensions (#4531)
* fix build for app extensions

* reuse URLUtilities
2024-12-04 14:59:06 +01:00
Cesar de la Vega 2386682cd3 Use ManageSubscriptionsView for users without active subscriptions (#4530) 2024-12-03 12:39:46 +01:00
Cesar de la Vega afa9f446d6 Create CustomerCenterEvent (#4392) 2024-12-02 15:43:53 +01:00
Cesar de la Vega 4a0156e1f6 Add lifetime support to the Customer Center (#4503) 2024-11-22 14:42:48 +01:00
Will Taylor 02dece8ebf dismiss promotional offer sheet after successful purchase 2024-11-14 14:17:21 -06:00
Cesar de la VegaandDan Pannasch 7e8bb3627c Refactor SubscriptionDetailsView and better WrongPlatformView (#4410)
Co-authored-by: Dan Pannasch <104692013+dpannasch@users.noreply.github.com>
2024-11-06 09:47:28 +01:00
Toni Rico 95aaf74888 Support custom URL paths in ManageSubscriptionsView (#4382)
* Support custom URL paths in ManageSubscriptionsView

* Fix tests

* More test fixes

* Add parsing and processing tests

* Consolidate SafariView

* Rename method

* Another rename

* Fix import issue with SafariView not being compatible to some platforms

* Style fix
2024-10-21 15:47:16 +02:00
Cesar de la Vega b5e05d6ad8 Remove access to Localization env variable in ManageSubscriptionsViewModel (#4339) 2024-10-02 15:38:11 +02:00
Cesar de la Vega 0f166d5a38 Remove CUSTOMER_CENTER_ENABLED (#4305) 2024-09-27 11:28:18 +02:00
Cesar de la Vega faf712aa48 Cleanup of strings in Customer Center (#4294) 2024-09-25 16:16:26 +02:00
Cesar de la Vega 465ab0f603 Add feedbackSurveyCompleted event to Customer Center events (#4194)
Sends a `feedbackSurveyCompleted` event when an option in the feedback
survey is pressed
2024-08-30 14:09:41 +02:00
JayShortway 70983772e5 [Customer Center] Shows a warning when the app is not the latest version (#4193) 2024-08-27 10:07:23 +02:00
JayShortway 081b6535b1 [Customer Center] CustomerCenterViewModel checks whether the app is the latest version (#4169) 2024-08-16 12:02:21 +02:00
dd0ee262ea [Customer Center] Initial implementation (#3967)
Alpha of the Customer Center. In this branch, it's been disabled behind
a compilation flag.

---------

Co-authored-by: Will Taylor <wtaylor151@gmail.com>
Co-authored-by: James Borthwick <109382862+jamesrb1@users.noreply.github.com>
Co-authored-by: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com>
Co-authored-by: JayShortway <29483617+JayShortway@users.noreply.github.com>
Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
Co-authored-by: Cody Kerns <44073103+codykerns@users.noreply.github.com>
Co-authored-by: Andy Boedo <andresboedo@gmail.com>
2024-08-09 15:26:55 +02:00