Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/docs/expo/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ description: "Release notes for the Superwall Expo SDK"

# Changelog

## 1.1.2

### Patch Changes

- a03889a: Ensure register callbacks resolve properly in all cases
- 09f7538: Bump Android & iOS versions

## 1.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion content/docs/expo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<SdkLatestVersion version="v1.1.1" repoUrl="https://github.com/superwall/expo-superwall" />
<SdkLatestVersion version="v1.1.2" repoUrl="https://github.com/superwall/expo-superwall" />
7 changes: 4 additions & 3 deletions content/docs/expo/sdk-reference/hooks/usePlacement.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function usePlacement(
},
feature: {
type: "() => void",
description: "Optional function queued when you register the placement. It runs if presentation is skipped, or after the paywall dismisses with `purchased` or `restored`. It does not run on paywall errors or other dismiss results.",
description: "Optional function queued when you register the placement. It runs whenever the SDK grants access: when presentation is skipped, after a successful purchase or restore, and on dismissals of non-gated paywalls. It does not run on paywall errors, or when a gated paywall is dismissed without purchasing.",
},
}}
/>
Expand Down Expand Up @@ -131,8 +131,9 @@ export default function PremiumButton() {
await registerPlacement({
placement: "MyFeaturePlacement",
feature: () => {
// Runs when the user is allowed through immediately,
// or after a purchased/restored paywall dismissal.
// Runs whenever Superwall grants access:
// skipped presentations, successful purchases/restores,
// or dismissals of non-gated paywalls.
navigateToPremiumFeature()
},
})
Expand Down
2 changes: 1 addition & 1 deletion content/docs/expo/sdk-reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<SdkLatestVersion version="v1.1.1" repoUrl="https://github.com/superwall/expo-superwall" />
<SdkLatestVersion version="v1.1.2" repoUrl="https://github.com/superwall/expo-superwall" />
Loading