Releases: superwall/Superwall-Android
Releases · superwall/Superwall-Android
1.3.1
1.3.0
1.3.0
Enhancements
- The existing
getPaywall
method has been deprecated and renamed togetPaywallOrThrow
. The newgetPaywall
method now returns akotlin.Result<PaywallView>
instead of throwing an exception. - Adds a new option to
SuperwallOptions
-passIdentifiersToPlayStore
which allows you to pass the user's identifiers (fromSuperwall.instance.identify(userId: String, ...)
) to the Play Store when making a purchase. Note: When passing in identifiers to use with the play store, please make sure to follow their [guidelines](https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setObfuscatedAccountId(java.lang.String). - Adds
Superwall.instance.confirmAllAssignments()
, which 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 issues with Paywall sometimes not displaying when returning from background
- Fixes issue with SDK crashing when WebView is not available
- Fixes issue with
SuperwallPaywallActivity
NPE - Update visibility of internal
getPaywall
methods tointernal
to prevent misuse
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.5
Enhancements
- Adds a
Modifier
toPaywallComposable
to allow for more control - Adds a
PaywallView.setup(...)
method to allow for easy setup when usingPaywallView
directly - Adds support for
MODAL
presentation style
Fixes
- Fixes issue with displaying
PaywallComposable
- Resolves issue where users would get
UninitializedPropertyAccessException
when callingSuperwall.instance
1.2.4
1.2.3
1.2.2
1.2.2
Enhancements
- Adds support for multiple paywall URLs, in case one CDN provider fails.
ActivityEncapsulatable
now uses a WeakReference instead of a reference- SW-2900: Adds Superwall.instance.localeIdentifier as a convenience variable that you can use to dynamically update the locale used for evaluating rules and getting localized paywalls.
- SW-2919: Adds a
custom_placement
event that you can attach to any element in the paywall with a dictionary of parameters. When the element is tapped, the event will be tracked. The name of the placement can be used to trigger a paywall and its params used in audience filters. - Adds support for bottom sheet presentation style (DRAWER), no animation style and default animation.
- Adds
build_id
andcache_key
toPaywallInfo
. - SW-2917: Tracks a
config_attributes
event after callingSuperwall.configure
, which contains info about the configuration of the SDK. This gets tracked whenever you set the delegate. - Adds in device attributes tracking after setting the interface style override.
- To comply with new Google Play Billing requirements we now avoid setting empty
offerToken
for one-time purchases