* feat: add `hasPaywall` getter to `Offering`
Returns `true` if the offering has either a v1 or a v2 paywall
* docs: update some methods references changing `PaywallData` with "paywall", as `PaywallData` only refers to v1 paywalls
* docs: improve reference of `Offering`'s `paywall` and `paywallComponents` to mention the new `hasPaywall` property
* lint
* tests: add unit tests that check the `hasPaywall` property of `Offering`
* api tests: add `paywallComponents` and `hasPaywall` to SwiftAPITester
* Fix badge background not using the new background field instead of backgroundColor
* switch order of background properties: background is preferred over backgroundColor
* add refreshable action to paywalls list in PaywallsTester app
* fix: disable refreshable action in PaywallView
* chore: add comment explaining why `refreshable` action was added to `APIKeyDashboardList`
* Version bump for 5.17.0
* Update RevenueCat-Swift.h for version 5.17.0
* fix FeedbackSurveyViewModelTests
* Group SwiftUI previews
---------
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
Co-authored-by: Mark Villacampa <m@markvillacampa.com>
* This mostly works
* Some cleanup and todos
* Fixed
* BROKEN but need to rebase
* The rework happened
* This is feeling pretty good
* This works
* Fix lint
* Oops
* Or this
* Removed size and implemented top and bottom pager
* Added a todo and compile error
* Made page control optional and added optional size that defaults to fit fit
* Fixes from PR review
* Fix podlint
* This mostly works
* Improved the code and added preview
* Add some comments and cleanup code
* More lint
* Make word for macos
* Maybe this
* This will work
* Visible property
* Added visible property to components
* Removed the EmptyView() from visibles which was necessary
* New VisisbleIfNeeded view
* Removed new VisibleIfNeeded view and made the thing apply functions a ViewBuilder
* Removed extra lint rule
* feat: add support for presenting draft paywalls under `@_spi(Internal)` attribute
* fix: initialize `useDraftPaywall` property of `PaywallView`
* feat: have `PaywallView` actually show draft paywall when `useDraftPaywall` is `true`
* remove lint warning
* silence linter warning
* tests: add unit tests for `paywallComponents` and `draftPaywallComponents` in `OfferingsResponse`
* tests: move test offerings with v2 paywalls into a new file not to affect existing decode + encode test
* remove unnecessary property wrapper
* silence lint warning
* We can't just remove PAYWALL_COMPONENT because we don't support macos and tv and things were failing
* Move PartialComponent outside of PaywallComponent extension
* Fix some lint errors
* Wrong thing
* Undid things i shouldn't have done
* Removed more
* Added comment
* Removed/fix some places for the check thingies
* RevenueCat module compiles on all the things
* RevenueCatUI compiles in all the platforms now
* Make all the things compile again
* Make work for visionOS
* Fix some platform and xcode version issues
* Fix failing spm ios 15 test
* Undo circleci changes
* Replace smooth with easeInOut
* Only run the thing i want
* Attempt to remove circular
* Explicit returns
* Does this pass
* This is it
* Swift 5.9 for this
* All tests again
* Undid public testing processor stuff
* Undo this too
* Swift compiler check out pill style circular
* Fixes from PR review
* Fix compile for mac