Facundo Menzella
8cb6322184
feat: Add onClose handler support for CustomerCenter ( #4850 )
2025-03-04 21:34:53 +01:00
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
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
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
df8dc08ba1
fix: Revisit environment values for CustomerCenter ( #4723 )
2025-01-29 17:08:09 +01:00
Facundo Menzella
f265d4fe26
fix: Remove buttonStyle for buttons in PurchaseHistory ( #4724 )
2025-01-28 18:31:43 +01:00
Facundo Menzella
ab62be609d
feat: Add debug section for purchase detail ( #4702 )
2025-01-27 11:03:14 +01:00
Facundo Menzella
28d957eb4d
fix: Use usesNavigationStac instead of usesExistingNavigationk ( #4706 )
2025-01-27 10:38:27 +01:00
Facundo Menzella
5570448a9f
fix: Set environment values for every child view in CustomerCenter ( #4704 )
2025-01-27 10:29:15 +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
Facundo Menzella
3c5e07f99a
fix: [CustomerCenter] Introduce NavigationOptions for custom navigation ( #4682 )
2025-01-20 16:35:08 +01: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
2386682cd3
Use ManageSubscriptionsView for users without active subscriptions ( #4530 )
2024-12-03 12:39:46 +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 Vega
d107fcda67
Close feedback survey after picking an option ( #4444 )
2024-11-14 14:34:52 +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
JayShortway
b9c66a6099
Fixes SubscriptionDetailsView background color in dark mode ( #4371 )
2024-10-11 14:08:30 +02:00
Toni Rico
ca797951ff
[CustomerCenter] Hide unknown paths ( #4350 )
2024-10-04 17:12: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
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
Cesar de la Vega
52e3c4ac2b
[CustomerCenter] Move sheet and restore alert creation to ManageSubscriptionsView ( #4220 )
...
The sheet was being created multiple times and we realized it was due to
it being created from the buttons instead of from the view
`ManageSubscriptionsView` itself
We moved the creation of the sheet and the restore alert to the
`ManageSubscriptionsView` to fix it
2024-08-27 11:35:18 +02:00
Cesar de la Vega
bb71e05f4f
[Customer Center] Fix FeedbackSurveyView not opening ( #4208 )
...
For some reason, the dismiss environment variable was causing the view
to constantly recreate, which was causing a loop when trying to launch
the feedback survey view, and the app would freeze.
I moved the `dismiss` to the `DismissCircleButton` and looks like it has
solved it.
2024-08-22 16:10:11 +02:00
Cesar de la Vega
f89b02a54a
Clean up colors in WrongPlatformView and NoSubscriptionsView ( #4204 )
...
Changed the `WrongPlatformView` and `NoSubscriptionsView` to use lists,
so they don't use the prominent buttons and look more native
| WrongPlatformView | NoSubscriptionsView |
|--------|--------|
| 
| 
|
2024-08-21 16:25:14 +02:00
Cody Kerns
1a4cd547c3
[Customer Center] Migrate to List style ( #4190 )
...
- Migrates our custom Customer Center UI to use Lists instead of stacks
of buttons
- Implements a reusable navigation stack component with backwards
compatibility
- Pulls out SubscriptionDetailsView into a separate file
**ManageSubscriptionsView**
| New | Old |
|-----|-----|
|

|

|
**FeedbackSurveyView**
| New | Old |
|-----|-----|
|

|

|
2024-08-20 14:40:34 -04:00
Josh Holtz
26eed6c80a
Fix failing all-tests and retry more flaky tests ( #4188 )
...
## Motivation
- Compile errors in Xcode 15 with iOS 16
- Flaky tests
## Description
### iOS 16 fixes
The following things aren't available:
- `@available(visionOS)`
- `.topBarTrailing` (need to use `.navigationBarTrailing`)
- Fix issues with `Locale(identifier: "")` now returning `en` but ONLY
on iOS 16 in Xcode 15
- iOS 17 returns the expected `nil` in Xcode 15
- There was a test using `#if swift` that was now being run by iOS 16
tests that needed an additional
`AvailabilityChecks.iOS17APIAvailableOrSkipTest()`
### Flaky tests fixes
Using new `scan_with_flaky_test_retries` action from in
`fastlane-plugin-revenuecat_internal`
- Replaces the `retry_failed_tests` lane that did a similar thing
- Removed a bunch of duplicated steps in the `.circle/config.yml` that
needed to run the `retry_failed_tests`
- `scan_with_flaky_test_retries` is now used in:
- `test_ios`
- `test_tvos`
- `test_watchos`
- `backend_integration_tests`
### Carthage tests timing out
The carthage installation tests timed out pretty regularly. They will
now use the large resource class (where everything else uses the medium)
2024-08-20 07:44:18 -05:00
Cody Kerns
76cbce1122
[Customer Center] Improving customer center buttons ( #4165 )
2024-08-14 18:02:16 -04:00
Andy Boedo
809547cb24
replace color(from colorInformation:) global with extension ( #4183 )
...
Small refactor that replaces the color(from colorInformation:) global it
with internal extension.
The idea is to keep the global namespace cleaner. Also it feels a bit
neater to be able to find it through Color.
2024-08-14 14:12:35 -03: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