Skip to content

StoreKit 2: added warning to paywall constructors#3045

Merged
NachoSoto merged 1 commit into
mainfrom
sk2-paywalls-docss
Aug 22, 2023
Merged

StoreKit 2: added warning to paywall constructors#3045
NachoSoto merged 1 commit into
mainfrom
sk2-paywalls-docss

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

This became a requirement with #3032.

@NachoSoto NachoSoto added the docs label Aug 17, 2023
@NachoSoto NachoSoto requested a review from a team August 17, 2023 21:14
/// the result automatically. All you need to do is to dismiss the paywall
/// the result automatically. All you need to do is to dismiss the paywall.
///
/// - Warning: In order to use StoreKit paywalls you must configure the `RevenueCat` SDK

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't been tracking the Paywall changes, but would it make sense to log an error if a user tries to display the paywall using SK1? I was also thinking of actually erroring out, but not sure how that would work, so a log might be enough.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NachoSoto NachoSoto enabled auto-merge (squash) August 22, 2023 16:22
@NachoSoto NachoSoto merged commit 93b09a2 into main Aug 22, 2023
@NachoSoto NachoSoto deleted the sk2-paywalls-docss branch August 22, 2023 22:38
NachoSoto pushed a commit that referenced this pull request Aug 23, 2023
**This is an automatic release.**

### Other Changes
* `Integration Tests`: test that `checkTrialOrIntroDiscountEligibility`
makes no API requests (#3054) via NachoSoto (@NachoSoto)
* `visionOS`: changed CI job to Release (#3042) via NachoSoto
(@NachoSoto)
* `StoreKit 2`: added warning to paywall constructors (#3045) via
NachoSoto (@NachoSoto)
* `README`: added `visionOS` to list of supported platforms (#3052) via
NachoSoto (@NachoSoto)
* `Tests`: added tests for `ClockType` (#3029) via NachoSoto
(@NachoSoto)
* `HTTPClient`: also parse errors with `application/json;charset=utf8`
(#3041) via NachoSoto (@NachoSoto)
MarkVillacampa pushed a commit that referenced this pull request Sep 6, 2023
MarkVillacampa pushed a commit that referenced this pull request Sep 6, 2023
**This is an automatic release.**

### Other Changes
* `Integration Tests`: test that `checkTrialOrIntroDiscountEligibility`
makes no API requests (#3054) via NachoSoto (@NachoSoto)
* `visionOS`: changed CI job to Release (#3042) via NachoSoto
(@NachoSoto)
* `StoreKit 2`: added warning to paywall constructors (#3045) via
NachoSoto (@NachoSoto)
* `README`: added `visionOS` to list of supported platforms (#3052) via
NachoSoto (@NachoSoto)
* `Tests`: added tests for `ClockType` (#3029) via NachoSoto
(@NachoSoto)
* `HTTPClient`: also parse errors with `application/json;charset=utf8`
(#3041) via NachoSoto (@NachoSoto)
@vegaro vegaro added pr:other and removed pr:docs labels Sep 17, 2024
@codecov

codecov Bot commented Sep 17, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.65%. Comparing base (75c0d03) to head (a04ce00).
Report is 824 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3045      +/-   ##
==========================================
- Coverage   86.65%   86.65%   -0.01%     
==========================================
  Files         219      219              
  Lines       15667    15667              
==========================================
- Hits        13577    13576       -1     
- Misses       2090     2091       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants