* 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`
* feat: have testing apps take RevenueCat API key and Proxy URL from local.xcconfig file
* fix wording mistakes in `Local.xcconfig.SAMPLE`
* chore: include `ConfigItem.swift` file in `verify_no_included_apikeys` check
* fix more mistakes in comments
* 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
* I thought I removed this change but did so oops
* Optional properties on padding/margin for safety
* Optionalizing properties that can easily default to zero for safety
* Add preview test target (#4405)
* Fix crashing preview (#4406)
* Build test app (#4407)
* Add emerge_purchases_ui_snapshot_tests circleci job
* Enable PAYWALL_COMPONENTS compilation condition when building paywalls tester for emerge
* fix fastfile
* Set emerge snapshot dependency up to next major and include PaywallsTesterTests file in main xcodeproj
* dont run emerge snapshot tests on every PR
* Update .circleci/config.yml
Co-authored-by: Josh Holtz <me@joshholtz.com>
* Update fastlane/Fastfile
Co-authored-by: Josh Holtz <me@joshholtz.com>
* run snapshot tests on every PR
* fix ci
---------
Co-authored-by: Noah Martin <noahm444@gmail.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
* DON'T COMMIT THIS
* Maybe this
* Maybe this
* This will do it
* This should do it
* Oops, remove one more thing
* One more time
* One more time
* Maybe this
* Ths is it
* Fixes for paywall tester
* Some previewer fixes when testing
* Frozen and lint
* Updated some spec values
* Remove @frozen
* Factory pattern for the view models
* Paywalls v2 factory works
* Introduce PurchaseParams to allow passing extra configuration info when making a purchase
* simplify naming
* fallback to old method when flag is not enabled
* Add $(inherited) to the test targets so they pick up compiler flags from Local.xcconfig
* Include product/package inside PurchaseParams
* fix tests
* add compiler flag check
* update purchase tester
* fix docs
* add tests
* Update Sources/Networking/Operations/PostReceiptDataOperation.swift
Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
---------
Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
* Improved JSON format for ButtonComponent codables
* Started to remove PackageGroup
* Removed PackageGroup and added Template 5 SwiftUI preview
* Remove PackageGroup
* Fixed some thread, lint, and selection stuff
* PurchaseButton is now a stack like button
* Added image partials
* Added stack partials
* Apply localized partials (state and conditions) for text component
* Added visible and updated example in paywalls tester to test things out
* A bit more cleanup
* Code improvements
* Fix tests and lint
* Partials are now in one ComponenOverrides struct with states, conditions, and intro offer
* Improvements
* Fix lint
* Improved JSON format for ButtonComponent codables
* Started to remove PackageGroup
* Removed PackageGroup and added Template 5 SwiftUI preview
* Remove PackageGroup
* Fixed some thread, lint, and selection stuff
* PurchaseButton is now a stack like button
* Passing onDismiss
* Lint
* Improved JSON format for ButtonComponent codables
* Started to remove PackageGroup
* Removed PackageGroup and added Template 5 SwiftUI preview
* Remove PackageGroup
* Fixed some thread, lint, and selection stuff
* Made renames and some code improvements