Skip to content

1.3.0

Compare
Choose a tag to compare
@ianrumac ianrumac released this 11 Oct 11:21
· 123 commits to develop since this release
f547ffc

1.3.0

Enhancements

  • The existing getPaywall method has been deprecated and renamed to getPaywallOrThrow. The new getPaywall method now returns a kotlin.Result<PaywallView> instead of throwing an exception.
  • Adds a new option to SuperwallOptions - passIdentifiersToPlayStore which allows you to pass the user's identifiers (from Superwall.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 to internal to prevent misuse