Skip to content

Commit 4706bfd

Browse files
committed
docs(expo): update for v0.8.1
1 parent 1cb0a28 commit 4706bfd

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

content/docs/expo/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ If you have feedback on any of our docs, please leave a rating and message at th
3939

4040
If you have any issues please [open an issue on GitHub](https://github.com/superwall/expo-superwall/issues).
4141

42-
<SdkLatestVersion version="v0.1.3" repoUrl="https://github.com/superwall/expo-superwall" />
42+
<SdkLatestVersion version="v0.8.1" repoUrl="https://github.com/superwall/expo-superwall" />

content/docs/expo/sdk-reference/components/SuperwallProvider.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ title: "SuperwallProvider"
1010

1111
The `apiKeys` prop is an object that contains the API keys for the Superwall SDK.
1212

13+
### `options`
14+
15+
Optional configuration options to pass to the native Superwall SDK. See [SuperwallOptions](/expo/guides/configuring) for available options.
16+
17+
### `onConfigurationError`
18+
19+
Optional callback invoked when SDK configuration fails. Use this to track errors, show custom UI, or implement retry logic.
20+
21+
```tsx
22+
<SuperwallProvider
23+
apiKeys={{ ios: "YOUR_SUPERWALL_API_KEY" }}
24+
onConfigurationError={(error) => {
25+
console.error("Superwall configuration failed:", error);
26+
// Handle error, show UI, or retry
27+
}}
28+
>
29+
{/* Your app content */}
30+
</SuperwallProvider>
31+
```
32+
1333
## Example
1434

1535
```tsx

content/docs/expo/sdk-reference/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ If you have feedback on any of our docs, please leave a rating and message at th
1515

1616
If you have any issues with the SDK, please [open an issue on GitHub](https://github.com/superwall/expo-superwall/issues).
1717

18-
<SdkLatestVersion version="v0.1.3" repoUrl="https://github.com/superwall/expo-superwall" />
18+
<SdkLatestVersion version="v0.8.1" repoUrl="https://github.com/superwall/expo-superwall" />

0 commit comments

Comments
 (0)