✨ New Features
- Added
clearDataOnBackupparameter. 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
onRenderingFailedhandler that automatically closes the paywall if rendering fails.
Fixes
- [iOS] Fixed the
AdaptyPaywallViewpaywallprop soplacementIdis passed correctly. - Paywall events rework:
- Fixed
onPaywallClosednot being emitted; now it fires as expected. - [Android] Added support for the
onWebPaymentNavigationFinishedevent.
- Fixed
⚠️ Breaking Changes
- Removed
AdaptyPaywallViewprops:onAndroidSystemBack,onPaywallClosed. Use your app navigation instead; both are still available via theViewController.setEventHandlers()API.