feat(expo): update for 1.1.5#215
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs-staging | 108f69d | Commit Preview URL Branch Preview URL |
Jun 18 2026, 04:13 PM |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 57fc6f15ae
ℹ️ 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".
| ### Patch Changes | ||
|
|
||
| - 45be124: Fix purchase events being dropped on cold start when using a custom purchase controller, which left the paywall spinner stuck forever. The native module emitted events through a single static reference that was overwritten by every module instance, so when more than one app context exists (e.g. expo-dev-client's launcher plus the app) the reference could point at an instance whose JS runtime never subscribed and `onPurchase`/`onPurchaseRestore` were silently dropped. Native events are now emitted to every live module instance (tracked weakly) instead of only the most recently created one. | ||
| - 85fce3f: add `shouldShowWebPurchaseConfirmationAlert` to `PaywallOptions` in compat |
There was a problem hiding this comment.
Remove non-upstream Expo changelog entry
The repository's AGENTS.md says SDK changelogs must copy reference/<sdk>/CHANGELOG.md verbatim; I checked the upstream Expo v1.1.5 CHANGELOG and the v1.1.4...v1.1.5 diff, and the changelog section only adds the 45be124 bullet. This extra 85fce3f line makes our docs claim an upstream release-note entry that was not published, even though that commit exists in the code diff, so the docs changelog should either remove this line or upstream should publish it first.
Useful? React with 👍 / 👎.
57fc6f1 to
108f69d
Compare
Summary
Bumps the Expo SDK docs from 1.1.4 → 1.1.5.
Upstream diff:
v1.1.4...v1.1.5Changelog source:
reference/expo/CHANGELOG.mdChanges
Patch Changes (1.1.5)
onPurchase/onPurchaseRestoreevents were silently dropped. Native events are now emitted to every live module instance (tracked weakly).shouldShowWebPurchaseConfirmationAlerttoPaywallOptionsin compat layer.Doc Updates Checklist
content/docs/expo/index.mdx: bumpedSdkLatestVersionv1.1.4 -> v1.1.5content/docs/expo/sdk-reference/index.mdx: bumpedSdkLatestVersionv1.1.4 -> v1.1.5content/docs/expo/changelog.mdx: prepended 1.1.5 entry (history preserved)shouldShowWebPurchaseConfirmationAlertin compatPaywallOptions: already documented incontent/shared/configuring/using-superwalloptions.mdxunder the Web Purchase Confirmation Alert section (:::expo block). No new doc page needed.Verification
bun test: 50 pass, 0 failbun run build:cf: MDX transformation succeeded (7335 modules); OOM during Vite bundle rendering phase (environment memory constraint, not a code issue)Follow-up Tasks / Known Gaps
None - this is a patch release with no breaking changes or new public APIs beyond those already documented.
Note
Low Risk
Documentation-only version and changelog updates with no runtime or API doc structure changes beyond release notes.
Overview
Updates Expo SDK documentation for v1.1.5 (from v1.1.4).
changelog.mdxadds a 1.1.5 section documenting upstream patch changes: a fix for custom purchase controller events dropped on cold start when multiple native module instances exist (e.g. expo-dev-client launcher + app), and exposure ofshouldShowWebPurchaseConfirmationAlerton compatPaywallOptions.index.mdxandsdk-reference/index.mdxbumpSdkLatestVersionto v1.1.5.Reviewed by Cursor Bugbot for commit 108f69d. Bugbot is set up for automated code reviews on this repo. Configure here.