Changelog
Release notes for the Superwall Flutter SDK
CHANGELOG
The changelog for Superwall. Also see the releases on GitHub.
2.9.0
Enhancements
- Updates Android SDK to 2.10.2 View Android SDK release notes.
- Updates iOS SDK to 4.19.1 when the plugin is built with Swift Package Manager View iOS SDK release notes. CocoaPods builds stay on 4.18.3 until 4.19 is published to CocoaPods.
- Adds
Superwall.shared.getAssignments(), which returns the experiment assignments made so far without confirming the rest. - Adds
Superwall.shared.refreshConfiguration()to fetch the Superwall configuration again without restarting the app. - Adds
EventTrackingBehavior(all,superwallOnlyornone) to choose which events the SDK sends to Superwall. Set it withSuperwallOptions.eventTrackingBehaviorwhen configuring, or at runtime withSuperwall.shared.setEventTrackingBehavior(), and read it withSuperwall.shared.getEventTrackingBehavior(). - Deprecates
SuperwallOptions.isExternalDataCollectionEnabledin favour ofSuperwallOptions.eventTrackingBehavior. It keeps working, and is ignored wheneventTrackingBehavioris set. - Adds
Superwall.shared.setInterfaceStyle()to show paywalls inInterfaceStyle.lightorInterfaceStyle.dark. Passnullto follow the system. - Adds
Superwall.shared.getIntegrationAttributes()to read the attributes set withsetIntegrationAttribute()andsetIntegrationAttributes(). Superwall.shared.setUserAttributes()now takes aMap<String, Object?>. Anullvalue removes the attribute.- Adds
Superwall.shared.cancelAllScheduledNotifications()to cancel the local notifications Superwall scheduled, such as free trial reminders. - Android: adds
Superwall.shared.setPushToken(),optOutOfNotifications(),optInToNotifications()andhandleNotificationOpen()for push notifications sent by Superwall. They do nothing on iOS. - Adds
SuperwallOptions.storeKitVersion(iOS only) to choose betweenStoreKitVersion.storeKit1andStoreKitVersion.storeKit2. - Adds
PaywallOptions.notificationPermissionsDenied(iOS only), the alert shown when a paywall asks for notification permissions the user has denied. It'snullby default, which shows no alert. - Adds
PaywallOptions.optimisticLoadingandPaywallOptions.timeoutAfter(Android only) to show a paywall before its products have loaded, and to fail a presentation when the paywall takes too long to load. - Adds
PaywallPresentationHandler.onWillDismiss()(iOS only), called when a paywall is about to be dismissed. - Adds the
reviewGrantedandreviewDenied(Android only),stripeCheckoutStart,stripeCheckoutSubmit,stripeCheckoutCompleteandstripeCheckoutFail(iOS only),testModeModalOpen,testModeModalCloseandpaywallPageViewevent types, delivered toSuperwallDelegate.handleSuperwallEvent. - Adds
SuperwallEvent.pageViewData(aPageViewData) forpaywallPageView,permissionNameandpaywallIdentifierfor the permission events,paywallCountfor the paywall preload events, andtransactionType(aTransactionType, iOS only) fortransactionComplete. - Adds
cacheKey,buildId,shimmerLoadStartTime,shimmerLoadCompleteTime,presentation(aPaywallPresentationInfowith thePaywallPresentationStyle, delay and drawer or popup dimensions),isScrollEnabledandpresentationIdtoPaywallInfo, plus the iOS-onlyisLocalandintroOfferEligibility(anIntroOfferEligibility). - Adds
Product.storeto the products inPaywallInfo.products, andProductStore.customfor products bought through your own checkout. - Adds
isRevoked,renewsAtandisInGracePeriodtoEntitlement. - Adds
state(aStoreTransactionState),payment(aStorePayment) andappAccountTokentoStoreTransaction, plus the Android-onlypurchaseTokenandsignature. - Adds
subscriptionPeriod(aSubscriptionPeriod) toStoreProduct, plus the Android-onlyfullIdentifier,productType,storeFrontCountryCode,isCustomProductandcustomTransactionId. - Adds
IntegrationAttribute.singularDeviceId, the iOS-onlyfirebaseInstallationId, and the Android-onlymeta,amplitude,mixpanel,googleAds,googleAppSetIdandcustom. - Adds the
analytics,webEntitlements,grantedEntitlementsandcustomerCenter(iOS only) andcustomerInfo,jsEvaluator,paywallTransactions,nativePurchaseControlleranddeepLinks(Android only) cases toLogScope. - Adds
RedemptionInfo.userAttributes(iOS only) andRedemptionPaywallInfo.productIdentifierto the result of redeeming a web checkout code. - Adds
Superwall.shared.refreshCustomerInfo(), which fetches fresh customer info on iOS when the plugin is built with Swift Package Manager. In CocoaPods builds and on Android it returns the same asgetCustomerInfo(). - Adds
Superwall.shared.getGrantedEntitlements()andsetGrantedEntitlements()(iOS only) for entitlements granted outside of the store, such as by your own server. They persist acrossreset()andidentify(), and each call tosetGrantedEntitlements()replaces the previous set. - Android: adds
Superwall.shared.showAlert()to show an alert over the presented paywall, completing withtruewhen its action button was tapped,Superwall.shared.openRestoreOnWeb()to open the page where the user restores their web purchases, andSuperwall.shared.getExternalAccountId(), the ID purchases are attributed to in Google Play. On iOS,showAlert()completes withfalse,openRestoreOnWeb()does nothing andgetExternalAccountId()returnsnull. - Adds
SuperwallOptions.localResources, local files that paywalls can load instead of downloading them, keyed by the resource ID set in the paywall editor. - Adds
LogScope.billing(Android only). PaywallSkippedReasonHoldoutnow has theexperimentthe user is in a holdout of, and addsPaywallSkippedReasonUserIsSubscribed(Android only).- Adds
RedemptionPaywallInfo.product, aRedemptionPaywallProductwith the pricing details of the product bought in a web checkout. - Adds
introductoryDiscountanddiscounts(each aStoreProductDiscount),billingPlanType(aBillingPlanType) andisBillingPlanAvailabletoStoreProduct(iOS only).StoreProduct.customTransactionIdis also available on iOS when the plugin is built with Swift Package Manager. - Adds typed event details to
SuperwallEvent:attributionMatchInfo(anAttributionMatchInfo) forattributionMatch;customerCenterAction,customerCenterPathId,customerCenterProductId,customerCenterSurveyId,customerCenterSurveyOptionId,customerCenterRefundStatus,customerCenterScreen(aCustomerCenterScreenType) and the iOS-onlycustomerCenterPresentationStyle(aCustomerCenterPresentationStyle) for the Customer Center events; and the Android-onlyfromCustomerInfoandtoCustomerInfoforcustomerInfoDidChange,resourceUrlfor a paywall resource that failed to load, andshimmerDurationforshimmerViewComplete. - Adds the
PaywallViewwidget, which embeds the paywall of a placement in your own widget tree on Android and iOS instead of presenting it over the app. Give it aplacementand optionalparams;onPresent,onSkipandonErrorreport what happened, andonFinisheddelivers thePaywallResult(purchased, restored or declined) along with whether the paywall was dismissed, in which case your app should remove the widget.loadingBuilder,skippedBuilderanderrorBuildercustomise what's shown while the paywall loads, when it's skipped and when it can't be retrieved.onLoadingStateChanged(with the newPaywallLoadingState) andonCustomCallbackare iOS only. CallSuperwall.configure()first, and use a different placement for eachPaywallViewmounted at the same time. EventType,LogScope,IntegrationAttributeandProductStorehave new values, andPaywallSkippedReasonhas the newPaywallSkippedReasonUserIsSubscribedsubclass. An exhaustiveswitchover any of them without adefaultneeds the new cases.
Fixes
- iOS: fixes
transactionRestoreevents being delivered toSuperwallDelegate.handleSuperwallEventastransactionComplete, andattributionMatchevents being delivered ascustomPlacement. If you relied on either, update your event handling. - Fixes a paywall resource that failed to load being delivered to
SuperwallDelegate.handleSuperwallEventaspaywallResponseLoadFail. It now has its ownpaywallResourceLoadFailevent type. - Android: fixes the
integrationAttributes,reviewRequested,customerInfoDidChange,enrichmentStart,enrichmentCompleteandenrichmentFailevents being delivered ascustomPlacement. - Android: fixes integration attributes set with
setIntegrationAttribute()andsetIntegrationAttributes()being dropped. They were sent as$-prefixed user attributes, which the Android SDK ignores, and are now set through its integration attributes API. - Android: fixes the log level passed in
SuperwallOptions.loggingbeing ignored and always set to debug.
2.8.0
Enhancements
- Updates Android SDK to 2.9.0 View Android SDK release notes.
- Updates iOS SDK to 4.18.3 View iOS SDK release notes.
- Adds Android support for
SuperwallOptions.adConsent,Superwall.shared.setAdConsent()andSuperwall.shared.getAdConsent(), previously iOS only, to report a user's ad consent (AdConsent, withadUserDataandadPersonalization, each anAdConsentStatusofgrantedordenied), which Superwall passes on with the conversions it uploads to Google Ads and Meta. If it's never set, the SDK uses the consent stored by an IAB TCF consent banner when GDPR applies, and otherwise defaults to granted; apps with users in the EEA, UK or Switzerland that don't use a TCF banner should set it from their consent flow. Both are reported as denied while event tracking is off. - Android: adds best-effort public IPv4 and IPv6 device attributes for apps using the Superwall MMP, and the IPv4 attribute for apps that set an AppsFlyer ID. Apps that use the MMP or set an AppsFlyer ID should declare IP address collection in their Play Console data safety form.
- Android: adds install attribution matching. If the app has performance marketing integrations set up on the Superwall dashboard, the SDK matches the install to the ad click that led to it, once per install within 7 days of install, and adds the resulting
acquisition_*attributes to user attributes for use in charts and audiences. The result is delivered toSuperwallDelegate.handleSuperwallEventas the newattributionMatchevent type, withprovider,matchedand, when available,source,confidence,match_scoreandreasoninparams. - Android: adds subscription replacement. When a paywall's Purchase action is set to replace an existing subscription, the purchase upgrades, downgrades or switches the user's active Google Play subscription that shares an entitlement with the new product instead of buying a second one.
- Android: adds
PurchaseController.purchaseFromGooglePlayWithReplacement(productId, basePlanId, offerId, replacement), called instead ofpurchaseFromGooglePlaywhen a purchase replaces an existing subscription. ItsProductReplacementcarries theProductReplacementMode(storeDefault,chargeProratedorchargeFullPrice) and the old product's ID and purchase token, so a custom purchase controller can perform the replacement. The default implementation callspurchaseFromGooglePlay, so purchase controllers that extendPurchaseControllerkeep working; ones thatimplementsit need to add the method.
Fixes
- iOS: fixes entitlements becoming inactive while an App Store subscription is in a billing grace period, when using StoreKit 2. During the grace period, a subscription transaction's
isActivestaystrueand itsexpirationDateis when the grace period ends. - iOS: moves the SDK's database out of the root of Application Support into its own folder. Existing data is moved over on first launch.
- Android: fixes paywalls not running post-purchase actions, such as navigating to a thank-you page, after a one-time product purchase.
- Android: fixes web checkout codes passed through the Play install referrer never being redeemed. A code is now redeemed once, on the first launch after install.
- Android: fixes a band of the host window showing beside the display cutout around a Fullscreen, Push or no-animation paywall shown with
PresentationHost.inWindow.
2.7.0
⚠️ iOS: minimum deployment target is now iOS 15
The iOS SDK 4.18.0 raises its minimum deployment target from iOS 13 to iOS 15 and requires Xcode 26 (Swift 6.2) or later to build. The plugin's minimum iOS version goes from 14.0 to 15.0 to match, so set platform :ios, '15.0' in your ios/Podfile and IPHONEOS_DEPLOYMENT_TARGET to 15.0 in your Xcode project.
Enhancements
- Updates Android SDK to 2.8.8 View Android SDK release notes.
- Updates iOS SDK to 4.18.2 View iOS SDK release notes.
- Adds the Customer Center on Android and iOS, a self-service screen where users can view and restore their purchases, manage, cancel or change a subscription, request a refund, manage a web subscription and contact support. Present it with
Superwall.shared.presentCustomerCenter(), dismiss it withSuperwall.shared.dismissCustomerCenter(), and configure it withSuperwallOptions.customerCenteror by passing aCustomerCenterConfigurationwhen presenting. - Adds
CustomerCenterDelegate, passed topresentCustomerCenter(), to decide whether purchases are restored and to hear about selected actions, survey responses, refund requests and dismissal. - Adds
CustomerCenterSupport.checksAppStoreForUpdates(iOS only) to turn off the App Store lookup for the Customer Center's update banner. - Adds the
customerCenterOpen,customerCenterClose,customerCenterAction,customerCenterSurveyResponseandcustomerCenterRefundRequestevent types, delivered toSuperwallDelegate.handleSuperwallEventwith their details inparams. - Adds
SuperwallOptions.adConsent,Superwall.shared.setAdConsent()andSuperwall.shared.getAdConsent()(iOS only) to report a user's ad consent (AdConsent, withadUserDataandadPersonalization, each anAdConsentStatusofgrantedordenied), which Superwall passes on with the conversions it uploads to Google Ads and Meta. If it's never set, the iOS SDK uses the consent stored by an IAB TCF consent banner when GDPR applies, and otherwise defaults to granted; apps with users in the EEA, UK or Switzerland that don't use a TCF banner should set it from their consent flow.setAdConsent()does nothing on Android andgetAdConsent()throws anUnsupportedErrorthere. - Adds the iOS-only
teleportOpenevent type, tracked with the paywall's info when a paywall sends the user to a web flow such as its checkout page, andteleportReturn, tracked instead ofdeepLinkwhen a return link brings the user back to the app. - iOS: adds return links,
yourscheme://superwall/returnandhttps://<subdomain>.superwall.link/app-link/superwall/return, which bring the user back to your app from a Superwall web flow and leave the paywall open. To open your app from a teleported web flow without the Open in App alert, addapplinks:<subdomain>.superwall.linkto your app's associated domains. Pass the link toSuperwall.shared.handleDeepLink()as usual. - iOS: a web purchase from a paywall's checkout page now finishes like an App Store purchase: once the code is redeemed, the paywall runs the purchase button's after-purchase actions, and it's dismissed as purchased only when those actions close it.
- Adds
PaywallOptions.presentationHost(Android only, experimental). Set it toPresentationHost.inWindowto show paywalls as an overlay in the presenting activity's own window instead of launching a separateSuperwallPaywallActivity. All presentation styles, back handling, surveys, trial reminder notifications, permission requests and web checkout work in this mode. If the activity is destroyed while the paywall is showing, including by a configuration change it doesn't handle itself, the paywall is dismissed. The default staysPresentationHost.activity. It has no effect on iOS. - Adds
IntegrationAttribute.airbridgeIdfor the Airbridge Device ID fromAirbridge.fetchDeviceUUID, on both Android and iOS. Set it withSuperwall.shared.setIntegrationAttribute()orsetIntegrationAttributes(). On iOS, it is kept when you reset or identify a different user. - iOS: adds best-effort public IPv4 and IPv6 device attributes for apps using the Superwall MMP, and the IPv4 attribute for apps that set an AppsFlyer ID. Apps that use the MMP or set an AppsFlyer ID should declare IP address collection in their privacy manifest.
Fixes
- Android: a paywall whose webview can't load, because every URL and retry has been used up, is now dismissed as declined with the
PaywallCloseReason.webViewFailedToLoadclose reason, matching iOS. TheregisterPlacementhandler getsonDismissand then the feature block for a non-gated placement, oronErrorfor a gated one. - Fixes Android
getCustomerInfo()returning empty purchase and entitlement lists when the native SDK has customer info. - Fixes Android
customerInfoStreamthrowingMissingPluginException, and forwardscustomerInfoDidChangedelegate callbacks with the old and new customer info. - Preserves Android entitlement product IDs, activity, offer type, store, renewal and expiry details, and implements native product-to-entitlement lookup.
2.6.0
Enhancements
- Updates Android SDK to 2.8.4 View Android SDK release notes.
- Updates iOS SDK to 4.17.0 View iOS SDK release notes.
- Adds
Superwall.shared.getProducts(productIds)to fetchStoreProducts (including price, localized price and currency code) outside of a paywall. Unknown identifiers are omitted. - Adds
Superwall.shared.purchase(productId)to purchase a product through Superwall outside of a paywall, returning the nativePurchaseResult. Purchase controller and observer mode behavior matches the native SDKs. - Adds Android-only
Superwall.shared.queryInAppPurchases(), returning owned one-time purchases in thePURCHASEDstate with their product IDs and purchase tokens, so the benefit can be granted before callingconsume().
⚠️ Android: Google Play Billing Library 9 migration
This release moves the Android SDK from 2.7.x to 2.8.x, which updates the Google Play Billing Library from 8.0.0 to 9.1.0. See the Play Billing Library 9 migration guide for the full list of changes. The notes below are copied from the Android SDK 2.8.0 release notes.
-
Impact: if your app still calls the removed Billing Library APIs (
SkuDetails,SkuDetailsParams,querySkuDetailsAsync,queryPurchaseHistoryAsync,BillingClient.SkuType, or the no-argenablePendingPurchases()), it will no longer compile once it picks up Billing 9 through this SDK. Migrate those call sites to theProductDetailsAPIs before upgrading; the migration guide has a mapping of every removed API to its replacement. -
Please test your billing and purchasing flows before shipping this upgrade. Because the Billing Library is resolved to a single version across your app, upgrading Superwall also upgrades Billing for everything else that depends on it. If you use Google Play Billing directly, or another subscription provider such as RevenueCat, Adapty or Purchasely, make sure that provider's SDK supports Billing 9 and run through purchase, restore and subscription-status flows end to end.
-
If you use other subscription management libraries (RevenueCat, Purchasely, Adapty) and they do not support Play Billing 9: you can pin the Billing Client version to 8 in the following way.
Add this to your app module's
android/app/build.gradle.kts, outside theandroid { }block:configurations.all { resolutionStrategy.force("com.android.billingclient:billing:8.3.0") }Or in Groovy (
android/app/build.gradle):configurations.all { resolutionStrategy.force 'com.android.billingclient:billing:8.3.0' }You can confirm which version you end up with via
./gradlew :app:dependencies --configuration releaseRuntimeClasspath(run from yourandroid/directory) — look forcom.android.billingclient:billing:9.1.0 -> 8.3.0. Billing 8 still satisfies Google's August 31, 2026 requirement, so this is a safe interim state, and no Superwall functionality is lost: the SDK works on both 8.x and 9.x.Note that a
-dontwarn com.android.billingclient.api.QueryPurchaseHistoryParamsProGuard rule is not a fix. It silences the R8 error and lets the build through, but then throws at runtime. -
Billing Library 9 requires Android 6.0 (API 23). This plugin already requires
minSdkVersion 26, so no change is needed on the Flutter side.
Behavior Changes
- Android: system back presses are now forwarded into the paywall as a
back_button_inputmessage instead of dismissing it directly. Multi-page paywalls navigate back one page, and paywalls with nowhere to go back (root page, single page) close through the standard manual-close path, so single-page paywalls dismiss the same as before. Whenreroute_back_buttonis enabled in Paywall settings, thePaywallOptions.onBackPressedcallback keeps first refusal before the press is forwarded. Paywalls built on runtimes that predateback_button_inputignore the press until republished.
2.5.0
Enhancements
- Adds Swift Package Manager (SPM) support for iOS, alongside the existing CocoaPods support. This removes the "plugin does not support Swift Package Manager" warning under Flutter 3.44+ while remaining fully backward compatible with CocoaPods.
- Updates Android SDK to 2.7.24 View Android SDK release notes.
- Updates iOS SDK to 4.16.3 View iOS SDK release notes.
2.4.12
Enhancements
- Updates Android SDK to 2.7.11 View Android SDK release notes.
- Updates iOS SDK to 4.14.2 View iOS SDK release notes.
- Adds
preloadDeviceOverridesoption toPaywallOptionsto overrideshouldPreloadper device tier (Android only) - Exports
PresentationResult,StoreTransaction,TransactionProductfrom the public package - Fixes
PurchaserInfo.storeIdentifiersleaking the internal Pigeon type instead of the publicStoreIdentifierssealed class
2.4.11
Enhancements
- Updates iOS SDK to 4.14.1 View iOS SDK release notes.
- Updates Android SDK to 2.7.8 View Android SDK release notes.
- Adds
appstackIdintegration attribute for Appstack integration support - Adds
testModeBehavioroption toSuperwallOptionsto control when the SDK enters test mode (automatic, whenEnabledForUser, never, always) - Adds
shouldObservePurchasesoption toSuperwallOptionsto observe purchases made outside of Superwall - Adds
shouldBypassAppTransactionCheckoption toSuperwallOptions(iOS only) - Adds
maxConfigRetryCountoption toSuperwallOptions(iOS only) - Adds
useMockReviewsoption toSuperwallOptions(Android only)
2.4.10
Updates
- Updates pigeon to 26.1.5 to support analyzer 9.+.+ versions
2.4.9
Enhancements
- Updates iOS SDK to 4.13.0 View iOS SDK release notes.
- Updates Android SDK to 2.7.1 View Android SDK release notes.
2.4.8
Enhancements
- Adds
onCustomCallbackmethod toPaywallPresentationHandlerthat allows invoking custom callbacks and passing data from and to the paywall - Updates iOS SDK to 4.12.10 View iOS SDK release notes.
- Updates Android SDK to 2.7.0 View Android SDK release notes.
Fixes
- Fixes an issue where
IdentityOptionspassed toidentify()were not being sent to the native SDK due to a variable shadowing bug.
2.4.7
Enhancements
- Updates iOS SDK to 4.12.7 View iOS SDK release notes.
- Updates Android SDK to 2.6.8 View Android SDK release notes.
2.4.6
Enhancements
- Adds
isActiveconvenience property on theSubscriptionStatusclass - Adds support for
SuperwallOptions.paywalls.onBackPressedcallback to react to back button presses on Android
2.4.5
Enhancements
- Updates iOS SDK to 4.10.6 View iOS SDK release notes.
- Updates Android SDK to 2.6.5 View Android SDK release notes.
2.4.4
Enhancements
- Adds
Superwall.shared.consume(purchaseToken)method to allow consuming inapp purchases - Updates Android SDK to 2.6.2 View Android SDK release notes.
2.4.3
Enhancements
- Updates Android SDK to 2.6.1 View Android SDK release notes.
2.4.2
Enhancements
- Exposes
Superwall.shared.overrideProductsByNamevariable.
2.4.1
Enhancements
- Updates iOS SDK to 4.7.0 View iOS SDK release notes.
- Updates Android SDK to 2.5.1 View Android SDK release notes. Note: This contains an update to Play Billing 8.
- Adds
overrideProductsByNametoPaywallOptions- allows globally overriding products on any paywall by product name. - Adds
shouldShowWebPurchaseConfirmationAlerttoPaywallOptions- shows localized alert confirming successful web checkout purchases (iOS only).
Fixes
- Fixes missing paywall info
2.4.0
Enhancements
- Updates Android SDK to 2.3.1 View Android SDK release notes.
2.3.5
Fixes
- Adds
paramsmapping back toEventInfofor easier forwarding to analytics
2.3.4
Enhancements
- Updates iOS SDK to 4.5.2 View iOS SDK release notes.
- Updates Android SDK to 2.2.3 View Android SDK release notes.
Fixes
- Fixes issue where
shouldShowWebRestorationAlertwasn't getting through to the iOSPaywallOptions.
2.3.3
Enhancements
- Exposes
shouldShowWebRestorationAlertinPaywallOptions.
2.3.2
Enhancements
- Expose
getPresentationResultmethod - Updates Android SDK to 2.2.2 View Android SDK release notes.
2.3.1
Enhancements
- Updates Android SDK to 2.1.2 View Android SDK release notes.
Fixes
- Fixes issue with
registerPlacementblocking
2.3.0
Enhancements
- Exposes
ConfirmedAssignmentsandStoreProducttosuperwallkit_flutter. - Adds
Superwall.shared.getDeviceAttributes(), which returns the device attributes that are used when evaluating audience filters. - Updates iOS SDK to 4.4.1 View iOS SDK release notes.
- Updates Android SDK to 2.1.1 View Android SDK release notes.
Fixes
- Fixes issue where
SuperwallEventInfodidn't contain all expected variables. - Fixes issue when building for app that deploys with a minimum version of iOS 13.
2.2.2
Fixes
- Fixes issue with paywall presentation handlers not working.
2.2.1
Fixes
- Fixes issue with iOS side of project not building.
2.2.0
Fixes
- Fixes missing Event info
Enhancements
- Updates iOS SDK to 4.3.11 View iOS SDK release notes
- Updates Android SDK to 2.1.0 View Android SDK release notes
2.2.0-beta.2
Enhancements
- Updates iOS SDK to 4.3.8 View iOS SDK release notes
2.2.0-beta.1
Enhancements
-
Adds support for web checkout.
-
Updates kotlin version of the underlying Android SDK to 2.0.21
-
Updates iOS SDK to 4.3.5 View iOS SDK release notes
-
Updates iOS SDK to 2.1.0-beta.2 View iOS SDK release notes
2.1.0
Enhancements
- Updates Android SDK to 2.0.8 View Android SDK release notes
- Updates iOS SDK to 4.3.0 View iOS SDK release notes
2.1.0-beta.2
Enhancements
- Adds
restorePurchasesfunction - Updates Android SDK to 2.0.6 View Android SDK release notes
- Updates iOS SDK to 4.2.0 View iOS SDK release notes
2.1.0-beta.1
Enhancements
- Reworks the SDK's beneath the surface to rely on Pigeon codegen
- Improves stability
- Improved correctness of the SDK
Note:
- This could include some potentially breaking changes. If you find some, please open an issue or reach out to the team.
2.0.8
Enhancements
- Updates iOS SDK to 4.0.6 View iOS SDK release notes
- Updates Android SDK to 2.0.5 View Android SDK release notes
2.0.7
Fixes
- Fixes issue when accessing
presentedByPlacement*properties from a custom placement
2.0.6
Enhancements
- Adds a subscription stream example in the example app
Fixes
- Fixes issue with second subscriber not receiving the
SubscriptionStatusbroadcast stream - Fixes issue with
PurchasedPaywallResultnot properly deserialising inonDismiss
2.0.5
Enhancements
- Update
SuperwallPlacementtoSuperwallEvent - Update
PlacementTypetoEventType - Updates Android SDK to 2.0.3 View Android SDK release notes
- Updates iOS SDK to 4.0.3 View iOS SDK release notes
2.0.4
Enhancements
- Updates onDismissHandler to now receive a PaywallResult also
- Updates Android SDK to 2.0.2 View Android SDK release notes
handleSuperwallPlacement(SuperwallPlacementInfo eventInfo)has been replaced withhandleSuperwallEvent(SuperwallEventtInfo eventInfo)
2.0.3
Fixes
- Fixes BridgeInstance crashes
- Adds awaiting on shared instance of BridgeCreator to avoid crashes when plugin is yet to attach
2.0.2
- Updates iOS SDK to 1.5.4 View iOS SDK release notes
- Updates Android SDK to 2.0.1 View Android SDK release notes
2.0.1
- Upgrades iOS SDK to 4.0.0 View iOS SDK release notes
2.0.0
- Adds entitlements to subscriptions, allowing you to set them using:
await Superwall.shared.setSubscriptionStatus(status)by passing in one of:SubscriptionStatusActive(entitlements: entitlements))- Note: Passing in empty entitlements will set the subscription status to inactive
SubscriptionStatusInactiveSubscriptionStatusUnknown
- Subscribing to subscription status updates via stream
Superwall.shared.subscriptionStatus SuperwallBuilderwhich will automatically update the state whenever subscription status changesSuperwall.shared.registerEventhas now been replaced withSuperwall.shared.registerPlacementhandleSuperwallEvent(SuperwallEventInfo eventInfo)has been replaced withhandleSuperwallPlacement(SuperwallPlacementInfo placementInfo)PaywallPresentationHandler.onDismissnow has 2 arguments,PaywallInfoandPaywallResult
2.0.0-alpha.1
- Adds entitlements to subscriptions, allowing you to set them using:
await Superwall.shared.setSubscriptionStatus(status)by passing in one of:SubscriptionStatusActive(entitlements: entitlements))- Note: Passing in empty entitlements will set the subscription status to inactive
SubscriptionStatusInactiveSubscriptionStatusUnknown
- Subscribing to subscription status updates via stream
Superwall.shared.subscriptionStatus SuperwallBuilderwhich will automatically update the state whenever subscription status changesSuperwall.shared.registerEventhas now been replaced withSuperwall.shared.registerPlacementhandleSuperwallEvent(SuperwallEventInfo eventInfo)has been replaced withhandleSuperwallPlacement(SuperwallPlacementInfo placementInfo)
1.3.11
Fixes
- Fixes BridgeInstance crashes
- Adds awaiting on shared instance of BridgeCreator to avoid crashes when plugin is yet to attach
1.3.10
Fixes
- Fixes an issue on iOS where the plugin could get registered multiple times resulting in a
MissingPluginException.
1.3.9
Fixes
- Fixes a compatibility issue with
WorkManagerand other isolate-running libraries where the plugin would detach and cause aMissing ActivityorBridgeCreatorexception
Enhancements
- Updates Android SDK to 1.5.4 View Android SDK release notes
1.3.8
Fixes
- Removes unnecessary date comparison from PurchaseController example code.
1.3.7
Enhancements
- Upgrades iOS SDK to 3.12.1 View iOS SDK release notes
1.3.6
Enhancements
- Updates Android SDK to 1.5.1 View Android SDK release notes
1.3.5
Enhancements
- Upgrades iOS SDK to 3.12.0 View iOS SDK release notes
- Updates Android SDK to 1.5.0 View Android SDK release notes
Fixes
- Fixes issue with
PaywallInfoBridgeand other bridges throwing NPE when reattaching to activities from deep sleep.
1.3.4
Enhancements
- Adds
setLocaleIdentifier(_:)andgetLocaleIdentifier().
1.3.3
- Upgrades Android SDK to 1.3.1 View Android SDK release notes
- This fixes the issue when using Superwall with some SDK's would cause a crash (i.e. Smartlook SDK)
1.3.2
- Updates project linting and formatting to be consistent with the Flutter style
- Removes rogue logging statements by matching them with the provided Log level
- Adds
passIdentifiersToPlayStoretoSuperwallOptionswhich allows you to pass user identifiers to the Play Store purchases as account identifiers. This is useful for tracking user purchases in the Play Store console.
1.3.1
Enhancements
- Upgrades Android SDK to 1.3.0 View Android SDK release notes
- Upgrades iOS SDK to 3.10.1 View iOS SDK release notes
- Adds
confirmAllAssignmentsmethod toSuperwallwhich confirms assignments for all placements and returns an array of all confirmed experiment assignments. Note that the assignments may be different when a placement is registered due to changes in user, placement, or device parameters used in audience filters.
1.3.0
Enhancements
- Upgrades iOS SDK to 3.9.1. View iOS SDK release notes
- Upgrades Android SDK to 1.2.7 View Android SDK release notes
- Exposes the
SuperwallOptioncollectAdServicesAttributionfor iOS. Whentrue, this collects the AdServices attribute token, which will be process by our backend. AddsadServicesTokenRequest_start,adServicesTokenRequest_complete, andadServicesTokenRequest_fail. - Exposes
getConfigurationStatus(), which replacesgetIsConfigured(). This returns eitherConfigurationStatusPending,ConfigurationStatusConfigured, orConfigurationStatusFailed.
1.2.2
Enhancements
- Upgrades Android SDK to 1.2.4 View Android SDK release notes
Fixes
- Reapply the single bridge instance limit to fix issues with
setDelegatewhere plugins with multiple isolates are used - Fixes stateful bridges by applying new state when invoking create, resolving issues seen in #23
1.2.1
Enhancements
- Upgrades Android SDK to 1.2.3 View Android SDK release notes
- Upgrades iOS SDK to 3.7.2. View iOS SDK release notes
1.2.0
Enhancements
- Upgrades Android SDK to 1.2.0 View Android SDK release notes
Fixes
- Updates
compileSDKVersionto 34 fixing build issues on Android.
1.1.9
Enhancements
- Upgrades Android SDK to 1.1.8. View Android SDK release notes
Fixes
- Bumps minimum Kotlin version to 1.8.0 and Android Gradle Plugin to 8.1.0 to be able to be compatible with the latest Android SDK. This was necessary for important bug fixes.
- SW-2868: Fixes transaction issues caused by hot restart.
1.1.8
Enhancements
- Upgrades iOS SDK to 3.6.6. View iOS SDK release notes
- Upgrades Android SDK to 1.1.7. View Android SDK release notes
1.1.7
Enhancements
- Upgrades iOS SDK to 3.6.5. View iOS SDK release notes
1.1.6
Enhancements
- Upgrades Android SDK to 1.1.6. View Android SDK release notes
1.1.5
Enhancements
- Upgrades Android SDK to 1.1.5. View Android SDK release notes
1.1.4
Enhancements
- Upgrades Android SDK to 1.1.4. View Android SDK release notes
- Upgrades iOS SDK to 3.6.2. View iOS SDK release notes
- Adds
identityAliasSuperwallEvent.
Fixes
- Updates the UUID framework dependency to the latest version to prevent conflicts.
1.1.3
Fixes
- Fixes crash that occurred if an Android foreground service was started and the app was relaunched from a cold start.
1.1.2
Enhancements
- Upgrades Android SDK to 1.1.2. View Android SDK release notes
- Upgrades iOS SDK to 3.6.1. View iOS SDK release notes
1.1.1
Fixes
- Fixes
LocalNotificationissue that was trying to initialise anintwith adouble.
1.1.0
Enhancements
- Upgrades Android SDK to 1.1.1. View Android SDK release notes
- Upgrades iOS SDK to 3.6.0. View iOS SDK release notes
1.0.1
Fixes
- Fixes issue with invalid imports due to a breaking change on Android.
1.0.0
Enhancements
- Upgrades Android SDK to 1.0.0. View Android SDK release notes
- Upgrades iOS SDK to 3.5.0. View iOS SDK release notes
How is this guide?