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
12 changes: 12 additions & 0 deletions content/docs/flutter/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ description: "Release notes for the Superwall Flutter SDK"

The changelog for `Superwall`. Also see the [releases](https://github.com/superwall/Superwall-Flutter/releases) on GitHub.

## 2.4.11

### Enhancements
- Updates iOS SDK to 4.14.1 [View iOS SDK release notes](https://github.com/superwall/Superwall-iOS/releases/tag/4.14.1).
- Updates Android SDK to 2.7.8 [View Android SDK release notes](https://github.com/superwall/Superwall-Android/releases/tag/2.7.8).
- Adds `appstackId` integration attribute for Appstack integration support
- Adds `testModeBehavior` option to `SuperwallOptions` to control when the SDK enters test mode (automatic, whenEnabledForUser, never, always)
- Adds `shouldObservePurchases` option to `SuperwallOptions` to observe purchases made outside of Superwall
- Adds `shouldBypassAppTransactionCheck` option to `SuperwallOptions` (iOS only)
- Adds `maxConfigRetryCount` option to `SuperwallOptions` (iOS only)
- Adds `useMockReviews` option to `SuperwallOptions` (Android only)

## 2.4.10

## Updates
Expand Down
2 changes: 1 addition & 1 deletion content/docs/flutter/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,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/superwall-flutter/issues).

<SdkLatestVersion version="2.4.10" repoUrl="https://github.com/superwall/Superwall-Flutter" />
<SdkLatestVersion version="2.4.11" repoUrl="https://github.com/superwall/Superwall-Flutter" />
6 changes: 6 additions & 0 deletions content/docs/flutter/sdk-reference/IntegrationAttribute.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ enum IntegrationAttribute {
amplitudeDeviceId,
amplitudeUserId,
appsflyerId,
appstackId,
brazeAliasName,
brazeAliasLabel,
onesignalId,
Expand All @@ -36,6 +37,10 @@ enum IntegrationAttribute {

<TypeTable
type={{
appstackId: {
type: "IntegrationAttribute",
description: "The Appstack identifier.",
},
}}
/>

Expand All @@ -56,6 +61,7 @@ await Superwall.shared.setIntegrationAttributes({
IntegrationAttribute.mixpanelDistinctId: 'user_123',
IntegrationAttribute.amplitudeUserId: 'amp_456',
IntegrationAttribute.adjustId: 'adjust_789',
IntegrationAttribute.appstackId: 'appstack_abc',
});
```

Expand Down
30 changes: 30 additions & 0 deletions content/docs/flutter/sdk-reference/SuperwallOptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ class SuperwallOptions {
bool isGameControllerEnabled = false;
Logging logging = Logging();
bool passIdentifiersToPlayStore = false;
TestModeBehavior testModeBehavior = TestModeBehavior.automatic;
bool shouldObservePurchases = false;
bool shouldBypassAppTransactionCheck = false; // iOS only
int maxConfigRetryCount = 6; // iOS only
bool useMockReviews = false; // Android only
}
```

Expand Down Expand Up @@ -58,6 +63,31 @@ class SuperwallOptions {
description: "When `true`, Android builds send the plain `appUserId` to Google Play as `obfuscatedExternalAccountId`.",
default: "false",
},
testModeBehavior: {
type: "TestModeBehavior",
description: "Controls when the SDK enters test mode. Options: `automatic`, `whenEnabledForUser`, `never`, `always`.",
default: "TestModeBehavior.automatic",
},
shouldObservePurchases: {
type: "bool",
description: "When `true`, Superwall observes StoreKit/Play Store transactions made outside of Superwall and reports them.",
default: "false",
},
shouldBypassAppTransactionCheck: {
type: "bool",
description: "Disables the app transaction check on SDK launch. iOS only.",
default: "false",
},
maxConfigRetryCount: {
type: "int",
description: "Number of times the SDK will attempt to get the Superwall configuration after a network failure before it times out. iOS only.",
default: "6",
},
useMockReviews: {
type: "bool",
description: "Enables mock review functionality. Android only.",
default: "false",
},
}}
/>

Expand Down
2 changes: 1 addition & 1 deletion content/docs/flutter/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/superwall-flutter/issues).

<SdkLatestVersion version="2.4.10" repoUrl="https://github.com/superwall/Superwall-Flutter" />
<SdkLatestVersion version="2.4.11" repoUrl="https://github.com/superwall/Superwall-Flutter" />
Loading