diff --git a/content/docs/expo/changelog.mdx b/content/docs/expo/changelog.mdx index 8e6d989c..2cc6fae5 100644 --- a/content/docs/expo/changelog.mdx +++ b/content/docs/expo/changelog.mdx @@ -5,6 +5,23 @@ description: "Release notes for the Superwall Expo SDK" # Changelog +## 1.1.0 + +### Minor Changes + +- 0c3396d: Bump native SDKs and expose new APIs. + + **iOS — SuperwallKit 4.14.1 → 4.15.1** + + - New `paywallPageView` event for multi-page paywall navigation tracking (with `PageViewData` payload). + - `PaywallInfo.presentationId` is now bridged so events within a single presentation can be correlated. + - Custom store products are fully bridged: `Product` now carries `store` (`APP_STORE` | `STRIPE` | `PADDLE` | `PLAY_STORE` | `SUPERWALL` | `CUSTOM` | `OTHER`) plus per-store identifier objects (`appStoreProduct`, `stripeProduct`, `paddleProduct`, `customProduct`). `onPurchase` also receives `store` so JS can route `CUSTOM` products to its own purchase logic instead of StoreKit. + + **Android — Superwall-Android 2.7.11 → 2.7.12** + + - Bridges the new `customerInfo` field on `PaywallInfo` (subscriptions, non-subscriptions, entitlements, userId). + - Picks up new intro-offer eligibility logic for Stripe/Paddle products and bottom-sheet dismiss fix on newer Samsung devices. + ## 1.0.11 ### Patch Changes diff --git a/content/docs/expo/index.mdx b/content/docs/expo/index.mdx index 7fdde947..a9f363db 100644 --- a/content/docs/expo/index.mdx +++ b/content/docs/expo/index.mdx @@ -47,4 +47,4 @@ If you have feedback on any of our docs, please leave a rating and message at th If you have any issues please [open an issue on GitHub](https://github.com/superwall/expo-superwall/issues). - + diff --git a/content/docs/expo/sdk-reference/components/CustomPurchaseControllerProvider.mdx b/content/docs/expo/sdk-reference/components/CustomPurchaseControllerProvider.mdx index c7099d83..a8d60083 100644 --- a/content/docs/expo/sdk-reference/components/CustomPurchaseControllerProvider.mdx +++ b/content/docs/expo/sdk-reference/components/CustomPurchaseControllerProvider.mdx @@ -104,6 +104,10 @@ onPurchase: async (params) => { description: "App Store product identifier.", required: true, }, + store: { + type: "ProductStore?", + description: "The store backing the product. When `\"CUSTOM\"`, the product is not backed by StoreKit and your purchase handler must implement the purchase itself. See ProductStore for all possible values.", + }, }} /> @@ -132,6 +136,40 @@ onPurchase: async (params) => { }} /> +### ProductStore + + ### PurchaseResult +### SuperwallEventInfo + +", + description: "Additional payload metadata for the event.", + required: true, + }, + }} +/> + +### PageViewData + + + +### PaywallPageViewEvent + + + +### PaywallInfo + +", + description: "Paywall state captured on dismiss.", + required: true, + }, + customerInfo: { + type: "CustomerInfo?", + description: "Android 2.7.12+ snapshot of the user's subscription and entitlement state. Undefined on iOS.", + }, + }} +/> + +### Product + + + +### CustomerInfo (Android) + + + +### SubscriptionTransaction (Android) + + + +### NonSubscriptionTransaction (Android) + + + ## Returned Values This hook does not return any values (`void`). Its purpose is to set up and tear down event listeners. diff --git a/content/docs/expo/sdk-reference/index.mdx b/content/docs/expo/sdk-reference/index.mdx index 5072b5ed..7294a0aa 100644 --- a/content/docs/expo/sdk-reference/index.mdx +++ b/content/docs/expo/sdk-reference/index.mdx @@ -15,4 +15,4 @@ If you have feedback on any of our docs, please leave a rating and message at th If you have any issues with the SDK, please [open an issue on GitHub](https://github.com/superwall/expo-superwall/issues). - +