feat(ios): update for 4.16.2 - #269
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3af7c29c00
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - `model` - The device model | ||
| - `fontScale` - The user's system-wide Dynamic Type scale factor, e.g. `1.0` at the default size (available in version 4.16.2+) | ||
| - `fontSize` - The user's system-wide Dynamic Type font size in points, normalized against a 16pt baseline (available in version 4.16.2+) | ||
| - `preferredContentSizeCategory` - The user's system-wide Dynamic Type content size category, e.g. `large`, `xLarge`, `xxxLarge`, or an `accessibility*` variant (available in version 4.16.2+) |
There was a problem hiding this comment.
Add the new attributes to the variable reference
When iOS developers look up properties for paywall templates or audience rules, content/docs/variable-reference.mdx:25-48 claims to list all device properties, but it still marks fontScale and fontSize as Android-only and omits preferredContentSizeCategory entirely. Update those rows with iOS 4.16.2 availability, account for the platform-specific fontSize units, and add the new category row so the documented feature can actually be discovered and used.
Useful? React with 👍 / 👎.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs | 3af7c29 | Commit Preview URL Branch Preview URL |
Aug 17 2026, 04:25 PM |
Summary
Automated SDK docs version bump for the iOS SDK:
4.16.1 -> 4.16.2.CHANGELOG.mdat tag4.16.2(copied verbatim intocontent/docs/ios/changelog.mdx)Doc updates performed
content/docs/ios/index.mdx— bumped<SdkLatestVersion version="...">to4.16.2content/docs/ios/sdk-reference/index.mdx— bumped<SdkLatestVersion version="...">to4.16.2content/docs/ios/changelog.mdx— appended the4.16.2entry above4.16.1, additively (all historical entries preserved, nothing replaced)content/docs/ios/sdk-reference/getDeviceAttributes.mdx— documented the three new Dynamic Type device attributes shipped in 4.16.2 (fontScale,fontSize,preferredContentSizeCategory), matching the existing per-attribute + version-annotation pattern used forisApplePayAvailable/swiftVersioncontent/docs/ios/quickstart/install.mdx— reviewed; SPM/CocoaPods snippets use open version ranges (Up to Next Major Version,< 5.0.0), so no pinned-version edit was neededWhy only these files
I built a checklist from
git log 4.16.1..4.16.2,git diff --stat 4.16.1...4.16.2, the full upstream diff, and the upstreamCHANGELOG.md4.16.2 section. Besides the new device attributes, the release is internal fixes/perf (crash fix via Superscript 1.0.15 bump, network retry/error-mapping fixes, paywall debugger fix, permission-selector obfuscation, accent-color fix, locale-injection timing fix, server-side subscription linking on purchase/restore) with no other new/changed public API surface, so those are covered by the changelog entry alone — consistent with how prior patch releases (e.g. 4.16.0's "Fixes a crash due to concurrent calls topreloadAllPaywalls") are documented in this repo.Verification
bun run download:references— syncedreference/iosand confirmed tags4.16.1/4.16.2both exist upstreambun test— 64 pass, 0 failbun run build:cf— could not complete in this sandbox (killed with exit 137 / OOM; the script requests--max-old-space-size=5120against a ~3.8GB-RAM sandbox). As a substitute, all 4 edited MDX files were compiled through the project's actual MDX toolchain (@mdx-js/mdx+remark-gfm+remark-frontmatter) and parsed with no errors.git status— only the 4 intended files are modifiedKnown gaps / follow-ups
content/docs/kmp/index.mdxandcontent/docs/kmp/quickstart/install.mdxstate that the KMP bridge package "pins SuperwallKit iOS to exactly4.16.1". This is a separate SDK (Kotlin Multiplatform) with its own binary-compatibility pinning lifecycle — left untouched here since there's no evidence the actual KMP bridge release has moved to 4.16.2 yet. Flagging for whoever runs thekmpSDK update.bun run build:cfto completion locally due to sandbox memory limits (see Verification above); recommend CI run it as the authoritative check.🤖 Generated with automated
update-sdk-docsworkflow (iOS 4.16.1 → 4.16.2)