Changelog
Changelog for the Superwall Unity SDK beta.
Changelog
All notable changes to this package will be documented in this file.
[0.2.3]
Breaking Changes
Configurecompletion signature changed fromAction<bool>toAction<ConfigurationResult>to match the native SDKs'Result<Unit>semantics. The result exposesIsSuccessand a typedFailedResult.Erroron failure. Android now propagates SDK init errors through this; iOS still always signals success since SuperwallKit's completion has no failure variant.
Cleanup
- Renamed asmdef files to
Superwall.*
[0.2.1]
Enhancements
New APIs
SetLocalResources(Dictionary<string, string>)- map asset names to local file paths for paywall WebViews (Android only)
Delegate Fixes
- Android: added
willRedeemLink,didRedeemLink,userAttributesDidChangedelegate callbacks - iOS: added
handleSuperwallDeepLink,userAttributesDidChangedelegate callbacks - iOS: added
ShowAlertno-op stub to prevent missing symbol crash
[0.2.0]
Android Support
- Full Android support via bundled
.androidlibGradle module - no manualmainTemplate.gradlesetup needed - Kotlin bridge compiled with Kotlin 2.0.21 to match Superwall Android SDK 2.x
- Custom
ActivityProviderfor Unity ensures paywall presentation works correctly - AndroidManifest with required activity declarations merged automatically
New APIs
Purchase(productId, callback)- programmatic purchase without a paywallGetProducts(productIds, callback)- fetch product details by IDGetAssignments(callback)- get experiment assignments without confirmingShowAlert(title, message, ...)- show alerts on the current paywallRefreshConfiguration()- force SDK config refresh
Options
- Full
SuperwallOptionsparsing on both platforms (was incomplete) - Added
PaywallOptions.UseCachedTemplatesandPaywallOptions.TimeoutAfter TestModeBehavior,NetworkEnvironment,Paywalls.*,Logging.Scopesnow properly passed to native SDKs
Delegate & Callbacks
- All
ISuperwallDelegatecallbacks now receive deserialized objects instead of null SubscriptionStatusgetter properly deserializes native state (was always returning Unknown)- All async getters (
Entitlements,CustomerInfo,PaywallInfo,PresentationResult,ConfirmedAssignment,RestorationResult) now deserialize correctly - Fixed async callback mechanism - was dropping response data, causing
Configurecompletion to always return false
iOS
- Purchase controller flow implemented with async continuations
- Integration attributes mapping implemented
- Full options parity with Android
Cleanup
- Removed legacy
com.ian_unity558.com.superwall.sdkpackage - Removed stale
EnsureAndroidGradleDependencyeditor script (replaced by.androidlib)
[0.1.1]
- Android package support
- Handler callback arguments
- More properties implemented
- Improved option support
[0.1.0]
This is the first release of <com.superwall.sdk>.
- iOS support, registering and callbacks
How is this guide?