From 464ad08fdd331352b32a4472262bef9b55490ae2 Mon Sep 17 00:00:00 2001 From: Lever Bot Date: Fri, 20 Mar 2026 16:11:38 +0000 Subject: [PATCH 1/2] feat(flutter): update for 2.4.11 --- content/docs/flutter/changelog.mdx | 12 ++++++++ content/docs/flutter/index.mdx | 2 +- .../sdk-reference/SuperwallOptions.mdx | 30 +++++++++++++++++++ content/docs/flutter/sdk-reference/index.mdx | 2 +- 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/content/docs/flutter/changelog.mdx b/content/docs/flutter/changelog.mdx index 9c5414f4..327c7751 100644 --- a/content/docs/flutter/changelog.mdx +++ b/content/docs/flutter/changelog.mdx @@ -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 diff --git a/content/docs/flutter/index.mdx b/content/docs/flutter/index.mdx index 0173a4b5..ef361056 100644 --- a/content/docs/flutter/index.mdx +++ b/content/docs/flutter/index.mdx @@ -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). - \ No newline at end of file + \ No newline at end of file diff --git a/content/docs/flutter/sdk-reference/SuperwallOptions.mdx b/content/docs/flutter/sdk-reference/SuperwallOptions.mdx index c5514f3f..a3eece0b 100644 --- a/content/docs/flutter/sdk-reference/SuperwallOptions.mdx +++ b/content/docs/flutter/sdk-reference/SuperwallOptions.mdx @@ -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 } ``` @@ -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", + }, }} /> diff --git a/content/docs/flutter/sdk-reference/index.mdx b/content/docs/flutter/sdk-reference/index.mdx index 2a949417..9ff64d81 100644 --- a/content/docs/flutter/sdk-reference/index.mdx +++ b/content/docs/flutter/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/superwall-flutter/issues). - \ No newline at end of file + \ No newline at end of file From 4c66c19ae2904b6c32da526b936f5446022091bb Mon Sep 17 00:00:00 2001 From: Duncan Crawbuck Date: Fri, 20 Mar 2026 09:24:37 -0700 Subject: [PATCH 2/2] docs(flutter): add appstack integration attribute reference --- content/docs/flutter/sdk-reference/IntegrationAttribute.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/docs/flutter/sdk-reference/IntegrationAttribute.mdx b/content/docs/flutter/sdk-reference/IntegrationAttribute.mdx index 117e0831..ba63c6b0 100644 --- a/content/docs/flutter/sdk-reference/IntegrationAttribute.mdx +++ b/content/docs/flutter/sdk-reference/IntegrationAttribute.mdx @@ -13,6 +13,7 @@ enum IntegrationAttribute { amplitudeDeviceId, amplitudeUserId, appsflyerId, + appstackId, brazeAliasName, brazeAliasLabel, onesignalId, @@ -36,6 +37,10 @@ enum IntegrationAttribute { @@ -56,6 +61,7 @@ await Superwall.shared.setIntegrationAttributes({ IntegrationAttribute.mixpanelDistinctId: 'user_123', IntegrationAttribute.amplitudeUserId: 'amp_456', IntegrationAttribute.adjustId: 'adjust_789', + IntegrationAttribute.appstackId: 'appstack_abc', }); ```