-
Notifications
You must be signed in to change notification settings - Fork 58
4.16.2 #498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
4.16.2 #498
Changes from 63 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
40a1f4a
Add fontScale and preferredContentSizeCategory device attributes
claude dbbc43e
feat: resolve preview paywall by id instead of fetching all paywalls
Makisuo a5bfffd
Use normalized fontSize (px) device attribute
claude 0fedd7a
Add fontScale and preferredContentSizeCategory device attributes
claude 3a08143
Update version and changelog
yusuftor 08a1d5a
Add test for preferredContentSizeCategory token mapping
claude 9480901
Fix DeviceHelperTests: use UIContentSizeCategory(rawValue:) initializer
claude 6d98fb5
Merge pull request #488 from superwall/add-font-scale-device-attribute
yusuftor 03c8d9e
Merge remote-tracking branch 'origin/develop' into feat/paywall-previ…
Makisuo c6cde4b
refactor(debug): remove dead preview-picker path
Makisuo b073dda
fix(network): point V2 resolver at api.superwall.com, not baseHost
Makisuo 22d5def
Trigger /redeem after a successful native purchase
claude 92ad515
Trigger /redeem after a successful restore
claude fb00fc4
fix: resolve paywall preview via debugger signed token instead of app…
claude 0844b18
Update TransactionManager.swift
yusuftor 1691490
Makes redeem async
yusuftor 6119661
Merge pull request #490 from superwall/redeem-on-native-purchase
yusuftor cd31438
Don't retry HTTP errors that can never succeed
yusuftor d9fbbf7
Surface HTTP errors instead of reporting them as decoding failures
yusuftor 671d6a2
Align redirect handling between the retry loop and error mapping
yusuftor 22e8edf
Simplify changelog entries
yusuftor 355891c
Merge pull request #494 from superwall/fix/dont-retry-terminal-http-e…
yusuftor f441e98
Merge branch 'develop' into feat/paywall-preview-resolve-endpoint
yusuftor 62a9bf4
Update Package.resolved
yusuftor d57bc0d
Merge branch 'develop' into feat/paywall-preview-resolve-endpoint
yusuftor d2aa389
feat(debug): restore the "Your Paywalls" picker via the preview-list …
yusuftor b708cda
fix(debug): load the paywall picker independently of the preview render
yusuftor 9260802
test(network): cover the preview-list endpoint and its decoding
yusuftor b8ea624
fix(debug): open the picker when no paywall rendered; pin host in end…
yusuftor 9c9ba10
refactor(debug): share one PaywallSummary type across the preview end…
yusuftor da3811d
Update CHANGELOG.md
yusuftor 03c4949
Update SWBounceButton.swift
yusuftor c463ab8
Update CHANGELOG.md
yusuftor 8009f06
Merge pull request #489 from superwall/feat/paywall-preview-resolve-e…
yusuftor afd9c05
fix(device): read UIKit traits on the main thread and cache them
yusuftor 815dc10
fix(device): refresh cached traits on read so appearance changes can'…
yusuftor 2c3ee93
fix(device): hook trait changes so appearance flips land at the momen…
yusuftor dad046b
fix(device): observe the scene's traits and re-arm when it goes away
yusuftor ae03842
docs(device): record why iOS 13-16 has no trait hook
yusuftor b805a17
test(device): drain the refresh deterministically instead of sleeping
yusuftor b6350d9
fix(device): read traits live before iOS 17 rather than serving a sta…
yusuftor 2b8ddd5
docs(device): correct the pre-iOS 17 note on registerForTraitChanges
yusuftor 10aee46
perf(device): take one trait snapshot per device template
yusuftor 477aa1c
docs(device): pair the two interface-style override resolutions
yusuftor ba1f45e
test(device): name the template trait test after what it pins
yusuftor f405d64
Inject device locale into paywall webview at document start
claude 76b0e29
fix(device): re-arm trait observation when another scene takes over
yusuftor 84e7b13
Merge pull request #497 from superwall/fix/device-helper-main-thread-…
yusuftor 4ed0dfc
fix: avoid dormant ATT signatures
thisislvca cbbb253
fix(permissions): stop the sibling handlers leaking Apple's selectors…
yusuftor 110667d
fix(permissions): close the #function leak the scanner was blind to
yusuftor 64261cc
chore(permissions): guard the AdSupport names and sharpen the changelog
yusuftor b29cf44
Merge pull request #496 from thisislvca/codex/fix-att-static-signatures
yusuftor b2d2ad3
fix(device): defer UIKit reads until the application exists
yusuftor 875d8d6
docs(changelog): resolve leftover stash-conflict markers
yusuftor e086280
docs(device): scope the UIKit-read claim and rename a mislabeled test
yusuftor f417e0c
test(device): cover the instance-level self-healing caches
yusuftor b0a9b3e
test(device): wait for the notification fill instead of assuming inli…
yusuftor bba3660
test(device): hold the gate open until the observer's fill has landed
yusuftor a8dd696
Merge pull request #501 from superwall/fix/accent-color-pre-launch-ui…
yusuftor 0c89b73
fix(device): scale fonts against the resolved category, not ambient t…
yusuftor 2970f61
perf(device): serve cached traits below iOS 17 instead of reading live
yusuftor 8e52f21
test(permissions): pin the microphone proxy's mangled names determini…
yusuftor c8edc89
Merge pull request #502 from superwall/fix/pullfrog-device-trait-foll…
yusuftor 0c121e2
docs: drop the changelog line for a fix whose bug never shipped
yusuftor 26ed839
Merge branch 'develop' into claude/paywall-translation-perf-o43go3
yusuftor 4b1bfa0
docs: fold the locale-injection changelog entry into 4.16.2
claude 1c82a08
test(webview): exercise the non-ASCII preload case with real non-ASCI…
claude 4dfa44e
Merge pull request #503 from superwall/claude/paywall-translation-per…
yusuftor 1a052ce
Update Superscript
yusuftor a5cd5b6
docs: describe the Superscript crash fix accurately in the changelog
yusuftor e814d25
Update Package.resolved
yusuftor 88a6207
test: assert an unresolvable audience filter argument degrades to noM…
yusuftor 61fed83
Update Basic example's Package.resolved to Superscript 1.0.15
yusuftor 4ce7578
Update CHANGELOG.md
yusuftor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...les/Advanced/Advanced.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,5 +18,5 @@ let sdkVersion = """ | |
| */ | ||
|
|
||
| let sdkVersion = """ | ||
| 4.16.1 | ||
| 4.16.2 | ||
| """ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Sources/SuperwallKit/Models/Paywall/PaywallPreviewList.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // | ||
| // PaywallPreviewList.swift | ||
| // SuperwallKit | ||
| // | ||
| // Created by Yusuf Tör on 30/07/2026. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
| /// The response from `GET /v2/paywalls/preview-list`. | ||
| struct PaywallPreviewList: Decodable { | ||
| /// The paywalls available to preview, capped server-side. | ||
| let data: [PaywallSummary] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| // | ||
| // PaywallSummary.swift | ||
| // SuperwallKit | ||
| // | ||
| // Created by Yusuf Tör on 30/07/2026. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
| /// The minimal paywall metadata the debug/preview flow needs: enough to fetch | ||
| /// and label a paywall. | ||
| struct PaywallSummary: Decodable { | ||
| /// The id of the paywall in the database. | ||
| let id: String | ||
|
|
||
| /// The identifier (slug) of the paywall, used to fetch the full paywall. | ||
| let identifier: String | ||
|
|
||
| /// The display name of the paywall. | ||
| let name: String | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.