Skip to content

v3.15.1

Choose a tag to compare

@StanislavMayorov StanislavMayorov released this 12 Jan 18:49
· 289 commits to master since this release
ab8726d

✨ New Features

  • Added clearDataOnBackup parameter. Controls whether the SDK creates a new profile when the app is restored from an iCloud backup (default: false). Read more.
    await Adapty.activate('YOUR_API_KEY', {
      ios: {
        clearDataOnBackup: true,
      },
    });
  • Paywall: Added a default onRenderingFailed handler that automatically closes the paywall if rendering fails.

Fixes

  • [iOS] Fixed the AdaptyPaywallView paywall prop so placementId is passed correctly.
  • Paywall events rework:
    • Fixed onPaywallClosed not being emitted; now it fires as expected.
    • [Android] Added support for the onWebPaymentNavigationFinished event.

⚠️ Breaking Changes

  • Removed AdaptyPaywallView props: onAndroidSystemBack, onPaywallClosed. Use your app navigation instead; both are still available via the ViewController.setEventHandlers() API.

❗️Known Issues
(iOS) in RN v3.15.1 when a user opens a Web Paywall (in-app browser mode only) from a Paywall Builder and then navigates back, the original paywall can no longer be closed. This happens because the paywall’s event handlers have already been unsubscribed, so close actions are not handled.
Workarounds:

  1. In the Adapty dashboard, change the Web Paywall button’s “Open paywall in” setting from In-app browser to external browser.
  2. Upgrade to SDK v3.15.2
  3. Or downgrade to SDK v3.15.0.