Changelog
Release notes for the Superwall React Native SDK
Deprecated SDK
We strongly recommend migrating to the new Superwall Expo SDK, see our migration guide for details.
2.1.7
Fixes
- Fixes issue with
enableExperimentalDeviceVariables.
2.1.6
Enhancements
- Upgrades iOS SDK to 4.5.0 View iOS SDK release notes.
Fixes
- Fixes issue with
enableExperimentalDeviceVariables.
2.1.5
Enhancements
- Exposes the
enableExperimentalDeviceVariablesSuperwallOption.
2.1.4
Enhancements
- Upgrades iOS SDK to 4.4.1 View iOS SDK release notes.
- Upgrades Android SDK to 2.1.2 View Android SDK release notes.
2.1.3
Fixes
- Fixes issue when building for iOS.
2.1.2
Fixes
- Upgrades iOS SDK to 4.4.0 View iOS SDK release notes.
2.1.1
Enhancements
- Upgrades Android SDK to 2.1.0 View Android SDK release notes.
2.1.0
Fixes
- Upgrades iOS SDK to 4.3.9 View iOS SDK release notes.
Enhancements
- Adds support for
storeKitVersioninSuperwallOptions. - Fixes an issue preventing
SuperwallDelegate.didRedeemLinkfrom getting called when a Web Checkout link was redeemed. - Adds
didRedeemandwillRedeemto support web checkout
2.1.0 (Beta 3)
Fixes
- Adds support for
storeKitVersioninSuperwallOptions.
2.1.0 (Beta 2)
Fixes
- Fixes an issue preventing
SuperwallDelegate.didRedeemLinkfrom getting called when a Web Checkout link was redeemed.
2.1.0 (Beta 1)
Enhancements
- Adds
didRedeemandwillRedeemto support web checkout - Upgrades iOS SDK to 4.3.7 View iOS SDK release notes.
2.0.14
Enhancements
- Upgrades iOS SDK to 4.3.5 View iOS SDK release notes.
2.0.13
Enhancements
- Adds
getAssignments. - Upgrades iOS SDK to 4.3.0 View iOS SDK release notes.
2.0.12
Enhancements
- Adds
setLogLevel. - Upgrades Android SDK to 2.0.6 View Android SDK release notes.
Fixes
- Bug fixes for running the example app on Xcode 16.4.
2.0.11
Enhancements
- Upgrades iOS SDK to 4.2.0 View iOS SDK release notes.
Fixes
- Fixes an issue preventing
RestorationResult.failedfrom deserializing, which caused failed Restore Purchases attempts to get stuck with the loading indicator shown.
2.0.10
Enhancements
- Upgrades iOS SDK to 4.0.6 View iOS SDK release notes.
Fixes
- Fixes
productIdnot being available in thePurchaseResulton iOS. - Fixes issues for Kotlin 2.0 users on Android
2.0.9
Fixes
- Fixes issue with
getSubscriptionStatuson iOS.
2.0.8
Enhancements
- Upgrades Android SDK to 2.0.5 View Android SDK release notes.
- Upgrades iOS SDK to 4.0.5 View iOS SDK release notes.
- Adds back
getSubscriptonStatus
2.0.7
Fixes
- Fixes issue when hanling deep links
2.0.6
Enhancements
- Upgrades Android SDK to 2.0.3 View Android SDK release notes.
- Upgrades Android SDK to 4.0.3 View iOS SDK release notes.
- Updates
SuperwallPlacementnaming toSuperwallEvent
2.0.5
Enhancements
- Upgrades Android SDK to 2.0.2 View Android SDK release notes.
2.0.4
Enhancements
- Upgrades iOS SDK to 4.0.1 View iOS SDK release notes.
2.0.3
Enhancements
- Updates
SubscriptionStatus.Activeto accept either a list of strings or a list ofEntitlementobjects. - Updates how feature block is passed in and used in
registercall - Removes the need for params to be a
Map, the parameter now supports aRecord - Upgrades Android SDK to
2.0.1View Android SDK release notes
Fixes
- Example project fixes.
2.0.2
Fixes
- Readds
handleDeepLink(url:)toSuperwall.
2.0.1
Fixes
- Fixes the issue
TypeError: SuperwallReactNative.observeSubscriptionStatus is not a function.
2.0.0
Breaking Changes
- Updated API for
Superwall.shared.configureto now receive an object - Updated API for
Superwall.shared.registerto now receive an object - Updated API for
Superwall.shared.setSubscriptionStatusto now receive aSubscriptionStatustype with anEntitlementsarray in case ofSubscriptionStatus.Active - Added a
subscriptionStatusEmitteryou can subscribe to using thechangelistener - Upgrades iOS SDK to 4.0.0 View iOS SDK release notes.
- Upgrades Android SDK to 2.0.0 View Android SDK release notes
- View more changes in our migration guide
1.4.7
Enhancements
- Upgrades iOS SDK to 3.12.4 View iOS SDK release notes.
1.4.6
Enhancements
- Upgrades iOS SDK to 3.12.3 View iOS SDK release notes.
1.4.5
Fixes
- Removes unnecessary date comparison from PurchaseController example code.
- Adds a StoreKit configuration file to the iOS expo example app.
1.4.4
Enhancements
- Upgrades iOS SDK to 3.12.1 View iOS SDK release notes
1.4.3
Enhancements
- Upgrades Android SDK to 1.5.1 View Android SDK release notes
- Upgrades iOS SDK to 3.12.0 View iOS SDK release notes
Fixes
- Fixes issue where accessing configuration state before configuring would cause a crash.
1.4.2
Fixes
- Fixes an issue where params that were passed with
getPresentationResult(event:params:)were being dropped.
1.4.1
Enhancements
- Exposes
getPresentationResult(event:params:). This returns aPresentationResult, which preemptively gets the result of registering an event. This helps you determine whether a particular event will present a paywall in the future.
1.4.0
Enhancements
- Adds
setInterfaceStyle(style:)to Superwall, which you can use to set the interface style asLIGHTorDARK.
1.3.5
Fixes
- Fixes issue where the
PurchaseControllerfunctions wouldn't get called on hot restart of the app. - Fixes issue with configuration status serialization on Android.
- Fixes issue with preloading paywalls on Android.
1.3.4
Enhancements
- Upgrades Android SDK to 1.3.1 View Android SDK release notes
- Upgrades iOS SDK to 3.11.1 View iOS SDK release notes
- Adds
preloadAllPaywallsandpreloadPaywalls(eventNames: Set<String>)method toSuperwallwhich preloads all paywalls or paywalls for the event names passed in the argument.
Fixes
- Fixes issue with the
ExperimentinsidePaywallInfobeingnullin thehandleSuperwallEventdelegate for iOS.
1.3.3
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
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. - 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.
Fixes
- Fixes issue with the
ExperimentinsidePaywallInfobeingnullin thehandleSuperwallEventdelegate for iOS.
1.3.2
Enhancements
- Upgrades iOS SDK to 3.10.0 View iOS SDK release notes
- Upgrades Android SDK to 1.2.9 View Android SDK release notes
1.3.1
Enhancements
- Upgrades Android SDK to 1.2.8 View Android SDK release notes
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. This addsadServicesTokenRequest_start,adServicesTokenRequest_complete, andadServicesTokenRequest_failevents. - Exposes
getConfigurationStatus(). This returns eitherPENDING,CONFIGURED, orFAILED.
1.2.7
Fixes
// TODO: Update iOS to latest version before releasing.
- Fixes issue where the
paywallWillOpenURLwasn't being called.
1.2.6
Enhancements
- Adds an expo example project.
- Upgrades iOS SDK to 3.7.3. View iOS SDK release notes
- Upgrades Android SDK to 1.2.4. View Android SDK release notes
1.2.5
Fixes
- Fixes
Switch must be exhaustiveerror caused by the upgrade of the iOS SDK.
1.2.4
Enhancements
- Upgrades iOS SDK to 3.7.0. View iOS SDK release notes
Fixes
- Fixes an error
Invalid LocalNotificationType value.
1.2.3
Enhancements
- Adds
Superwall.shared.dismiss()to be able to dismiss a paywall programmatically. - Upgrades Android SDK to 1.2.1. View Android SDK release notes
1.2.2
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
Fixes
- Makes sure the iOS SDK is pinned to a specific version, rather than a minimum version.
1.2.1
Enhancements
- Upgrades Android SDK to 1.1.6. View Android SDK release notes
1.2.0
Enhancements
- Adds
handleDeepLink(url:). - Adds
setUserAttributes(userAttributes:)andgetUserAttributes(). - Upgrades iOS SDK to 3.6.5. View iOS SDK release notes
Fixes
- Transaction error alerts now display the intended error message rather than a generic
PurchaseResultError.
1.1.3
Enhancements
- Upgrades Android SDK to 1.1.5. View Android SDK release notes
1.1.2
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
Fixes
- Fixes issue where the React Native
SuperwallEventhadn't been updated to includeidentityAlias.
1.1.1
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.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
Fixes
- Fixes issue with restoration on iOS.
- Fixes issue with presenting surveys.
1.0.5
Fixes
- Fixes issue where params sent via register were being dropped.
1.0.4
Enhancements
- Upgrades Android SDK to 1.0.2. View Android SDK release notes
1.0.3
Fixes
- Providing your own
PurchaseControllernow works as expected. - Publicly exposes
EventType,PurchaseResultCancelled,PurchaseResultFailed,PurchaseResultPending,PurchaseResultPurchased,PurchaseResultRestored,TransactionBackgroundView.
1.0.2
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?
Edit on GitHub